Function at 0x434960
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dbd32
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x66f33c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x268], ebx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0047be90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4349d0
mov eax, dword [0x5e283c]
mov dword [edi], eax
cmp word [ebp - 0x218], 0
jne 0x4349f1
xor ecx, ecx
jmp 0x434a0f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434a00
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00403000
mov eax, dword [0x6743e0]
test eax, eax
jne 0x434a5c
push 0x15c
call fcn.0045133e
add esp, 4
mov dword [ebp - 0x264], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x434a4e
mov ecx, eax
call fcn.00443700
jmp 0x434a50
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6743e0], eax
mov ecx, eax
call fcn.0045d928
mov edx, eax
mov dword [ebp - 0x24c], 7
xor eax, eax
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
cmp word [edx], ax
jne 0x434a8b
xor ecx, ecx
jmp 0x434a9f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434a90
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x260]
call fcn.00403000
mov dword [ebp - 4], 1
call fcn.004543ea
test al, al
je 0x434adb
push ebx
push ecx
pop edx
pop ecx
pop edx
push eax
pop ecx
push edi
push ebx
push edx
push edx
push edi
pop esi
pop ebx
push esp
push esi
push eax
pop edi
pop eax
push esp
push edx
pop edi
pop esi
push ebp
pop eax
pop edx
pop esi
push ebx
push ebp
pop ebp
push esi
call fcn.00454726
test al, al
je 0x434b02
pop esi
pop ebp
pop ebx
pop ecx
push ecx
push ebp
pop eax
push esi
pop ecx
pop eax
pop edx
push ebp
pop eax
push esp
pop esi
pop esi
push edi
pop ecx
pop ebx
push eax
push esi
pop edi
pop ecx
push ecx
pop eax
push esi
push ebp
pop eax
push edi
pop ecx
call fcn.00454909
test al, al
je 0x434b2a
push esp
pop eax
push ecx
pop edi
push ecx
pop ecx
pop eax
push esp
pop ecx
pop edi
pop edi
push ebx
pop ecx
pop edx
pop ecx
push eax
pop esp
pop eax
push edx
pop ecx
pop eax
pop ebx
pop eax
pop ecx
pop edx
push ebp
push ecx
pop eax
push edi
push esp
pop edx
lea ecx, [ebp - 0x298]
call fcn.00470bcd
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 2
call fcn.00470c01
test eax, eax
je 0x434cb5
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], 0
push eax
lea ecx, [ebp - 0x298]
call fcn.00470dc1
call fcn.00454543
test al, al
je 0x434b8c
pop esp
pop ecx
pop ecx
push edx
pop esp
pop edx
push ecx
pop edi
push esi
pop ecx
pop ecx
pop ecx
push esi
pop ebp
push edx
push ebx
pop edx
push ecx
pop edx
push ebx
pop esi
push edi
push ebp
pop edx
push ebp
push esi
pop ecx
push 0xf
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.WinRerOvlay.dll
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00403000
mov ebx, dword [ebp - 0x268]
lea eax, [ebp - 0x230]
push eax
push ebx
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.00431280
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x434bfd
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403100
push 0x11
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.WinRerOvlay64.dll
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00403000
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
push ebx
lea eax, [ebp - 0x260]
mov ecx, ebx
push eax
call fcn.00431280
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x434c68
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403100
call fcn.004544b9
test al, al
je 0x434c85
push edx
pop edi
push esi
push ebp
pop esp
push edx
push ebp
push eax
pop edx
push ebp
pop edx
pop ebp
push ebp
pop esp
pop edi
pop edx
pop edx
push edi
pop esi
push ecx
call fcn.004547b0
test al, al
je 0x434c9f
pop edi
push ebx
pop edi
push ebp
push ebp
pop eax
pop ebp
push edx
pop ebp
pop edx
pop ecx
push esi
push ebp
pop ebx
push ebx
pop ecx
push ebx
push dword [ebp - 0x264]
lea ecx, [ebp - 0x298]
call fcn.00470ddf
jmp 0x434d91
push 0xf
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.WinRerOvlay.dll
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00403000
mov ebx, dword [ebp - 0x268]
lea eax, [ebp - 0x230]
push eax
push ebx
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
call fcn.00431280
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x434d26
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403100
push 0x11
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.WinRerOvlay64.dll
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00403000
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 6
push eax
push ebx
lea eax, [ebp - 0x260]
mov ecx, ebx
push eax
call fcn.00431280
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x434d91
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403100
call fcn.00454a62
test al, al
je 0x434dad
push edx
push ecx
pop ecx
pop ecx
push ecx
push esp
push esi
pop ebp
pop ebp
push ebp
pop ecx
pop eax
push ecx
push eax
push edi
push eax
pop ebx
pop ebx
push esp
xor eax, eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 7
call fcn.00454a62
test al, al
je 0x434e08
push esi
push edx
push eax
pop ebp
pop edx
pop edx
push edx
pop ebx
push ebp
pop eax
pop ebp
push eax
push esi
pop eax
pop esp
pop ecx
pop ecx
pop ebx
push ebp
push 6
push str.CLSID_
lea ecx, [ebp - 0x248]
call fcn.00403000
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x26c]
push ecx
push 0xf013f
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov dword [ebp - 0x264], ebx
call fcn.00454543
test al, al
je 0x434e76
pop ecx
pop eax
pop edx
pop esi
pop ebx
push edi
push esi
push esi
pop edx
pop eax
pop esp
push ebx
pop ecx
pop ebx
pop ebp
pop edx
push ebx
pop eax
pop eax
pop ebp
push eax
pop ebp
push esi
mov ebx, dword [ebp - 0x264]
call fcn.004544b9
test al, al
je 0x434e90
pop esi
push edx
push edx
pop edi
pop esi
pop eax
pop esi
push edi
push esi
pop edx
pop edi
push ebx
pop esp
push edi
pop ecx
push eax
pop edx
call fcn.0045483a
test al, al
je 0x434eb3
push edx
pop edi
push esp
push eax
push eax
pop esp
pop ebp
pop edi
pop eax
push edx
pop edx
push esi
push ecx
push eax
push edx
push ebp
pop edi
push ebx
pop edi
pop eax
push esi
pop edx
pop edx
pop esp
pop ebp
push edi
mov esi, dword [ebp - 0x268]
test ebx, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x434edd
push dword [ebp - 0x26c]
mov ecx, esi
call fcn.00431970
mov eax, dword [ebp - 0x26c]
test eax, eax
je 0x434edd
push eax
call ebx
push 0x17
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x248]
call fcn.00403000
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x270]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push ecx
push 0xf013f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov dword [ebp - 0x264], eax
call fcn.004549d8
test al, al
je 0x434f54
push eax
push edi
pop edi
push ecx
pop ebx
push edi
pop edi
pop eax
pop esp
pop eax
pop edx
push eax
pop ebp
pop esp
pop ecx
push esi
pop edx
pop ebx
push edi
pop ebx
push eax
pop ecx
push ebx
pop edi
push esi
push eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x264], 0
jne 0x434f77
push dword [ebp - 0x270]
mov ecx, esi
call fcn.00431970
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x434f77
push eax
call ebx
push 8
push str.TypeLib_
lea ecx, [ebp - 0x248]
call fcn.00403000
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x274]
push ecx
push 0xf013f
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push 0
push eax
push SysReAllocString
call edi
mov dword [ebp - 0x264], eax
call fcn.00454a62
test al, al
je 0x434fd5
push ecx
push ebp
push eax
pop esp
pop ecx
push edx
pop esp
pop ebp
pop ecx
push esp
push ebx
push edx
pop edi
pop esp
pop ebp
pop edx
push edx
push ecx
pop ecx
cmp dword [ebp - 0x264], 0
jne 0x434ff8
push dword [ebp - 0x274]
mov ecx, esi
call fcn.00432250
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x434ff8
push eax
call ebx
call fcn.00454543
test al, al
je 0x43501e
pop ebp
push ebx
push edx
pop esp
push edi
push eax
pop edx
pop edi
pop edi
push edi
pop esp
pop ebp
pop ebp
push edx
push edi
pop eax
pop eax
push ebp
push ebp
pop edi
push esp
pop ebp
pop esi
pop eax
pop eax
push ebp
pop ebx
push ebx
pop ebp
call fcn.0045483a
test al, al
je 0x43503b
pop ebp
push ecx
pop eax
push ebp
push ecx
push edx
push esp
pop ebx
push ebp
push ebx
pop esp
push ebp
pop eax
push esi
pop ebp
push ebx
push edi
pop ebx
pop eax
pop edi
mov ecx, dword [ebp - 0x268]
call fcn.00432a40
call fcn.004546e1
test al, al
je 0x43506c
push ecx
push esi
pop eax
pop eax
pop esi
pop ecx
push eax
push edx
pop edx
push ebp
pop esp
push ebx
pop edi
push ebx
pop ebp
push edi
push ecx
pop eax
push eax
pop ebx
push edx
push ebp
push edi
push ecx
pop edi
push ecx
push esp
pop eax
pop esi
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x43508a
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x234], 7
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.00470be0
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x4350d0
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00403100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045132d
mov esp, ebp
pop ebp
ret