Function at 0x42d8b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce6f2
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x667d00]
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 esi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a26c0
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
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x42d911
mov eax, dword [0x5d4964]
lea ecx, [ebp - 0x218]
mov dword [edi], eax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d930
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004032c0
mov eax, dword [0x66937c]
test eax, eax
jne 0x42d98c
push 0x15c
call fcn.0059ce1e
add esp, 4
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42d97e
mov ecx, eax
call fcn.00439760
jmp 0x42d980
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x66937c], eax
mov ecx, eax
call fcn.0043cd98
mov edx, eax
mov dword [ebp - 0x250], 0
mov ecx, edx
mov dword [ebp - 0x24c], 7
xor eax, eax
mov word [ebp - 0x260], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d9b7
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x260]
call fcn.004032c0
lea ecx, [ebp - 0x294]
mov dword [ebp - 4], 1
call fcn.00453a07
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 2
call fcn.00453a3b
test eax, eax
je 0x42dade
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], 0
push eax
lea ecx, [ebp - 0x294]
call fcn.00453b29
push 0xb
xor eax, eax
mov dword [ebp - 0x220], 0
push str.BKBbcor.dll
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.004032c0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
push esi
lea eax, [ebp - 0x260]
mov ecx, esi
push eax
call fcn.0042ac20
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00403060
push 0xd
xor eax, eax
mov dword [ebp - 0x220], 0
push str.BKBbcor64.dll
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.004032c0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
push esi
lea eax, [ebp - 0x260]
mov ecx, esi
push eax
call fcn.0042ac20
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00403060
push dword [ebp - 0x270]
lea ecx, [ebp - 0x294]
call fcn.00453b47
jmp 0x42db8a
push 0xb
xor eax, eax
mov dword [ebp - 0x220], 0
push str.BKBbcor.dll
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.004032c0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 5
push eax
push esi
lea eax, [ebp - 0x260]
mov ecx, esi
push eax
call fcn.0042ac20
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00403060
push 0xd
xor eax, eax
mov dword [ebp - 0x220], 0
push str.BKBbcor64.dll
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.004032c0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 6
push eax
push esi
lea eax, [ebp - 0x260]
mov ecx, esi
push eax
call fcn.0042ac20
lea ecx, [ebp - 0x230]
call fcn.00403060
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
push 6
push str.CLSID_
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 7
call fcn.004032c0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x264]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push ecx
push 0xf013f
push 0
push eax
push connect
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42dc2f
push dword [ebp - 0x264]
mov ecx, esi
call fcn.0042b170
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x42dc2f
push eax
call edi
push 0x17
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x248]
call fcn.004032c0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x268]
push ecx
push 0xf013f
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push 0
push eax
push reloc.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x42dc89
push dword [ebp - 0x268]
mov ecx, esi
call fcn.0042b170
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x42dc89
push eax
call edi
push 8
push str.TypeLib_
lea ecx, [ebp - 0x248]
call fcn.004032c0
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 connect
call ebx
test eax, eax
jne 0x42dce3
push dword [ebp - 0x26c]
mov ecx, esi
call fcn.0042b8c0
mov eax, dword [ebp - 0x26c]
test eax, eax
je 0x42dce3
push eax
call edi
mov ecx, esi
call fcn.0042bdb0
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x42dd2a
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dd20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ddaa
push edx
push ecx
call fcn.0059ce4e
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00453a1a
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x42dd8e
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dd84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ddaf
push edx
push ecx
call fcn.0059ce4e
add esp, 8
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.0059d38a
mov esp, ebp
pop ebp
ret
call fcn.005a5c79
call fcn.005a5c79
int3