Function at 0x42eb60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aacf2
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x1c], 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0046afd8
mov ecx, dword [edi + 0xac]
add edi, 0xac
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp dword [ecx - 0xc], 0
jne 0x42edc3
call fcn.00464b17
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x42ebda
push 0x80004005
call fcn.00403a80
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x42ec12
push 0x400
lea ecx, [ebp - 0x14]
call fcn.004037a0
mov esi, dword [ebp - 0x14]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [esi - 8]
push esi
call fcn.00582f38
add esp, 8
test eax, eax
js 0x42edb9
cmp eax, dword [esi - 8]
jg 0x42edb9
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call fcn.00584a3c
add esp, 8
or ebx, 0xffffffff
test eax, eax
je 0x42ec96
sub eax, esi
js 0x42ec96
inc eax
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00426000
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004054a0
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42ec93
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004054a0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ecx + 0x178]
call fcn.0044c180
mov byte [ebp - 4], 2
mov edx, 0x5ef390
mov eax, dword [eax]
test eax, eax
cmovne edx, eax
test edx, edx
jne 0x42eccb
xor ecx, ecx
jmp 0x42ecdd
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x24], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ecd3
sub ecx, dword [ebp - 0x24]
push ecx
push edx
mov ecx, edi
call fcn.00407970
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42ed15
dec dword [eax - 4]
lea edx, [eax - 0xc]
jne 0x42ed15
mov ecx, dword [edx + 4]
mov eax, edx
add ecx, 0xd
je 0x42ed0c
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x42ed03
push edx
call fcn.00582cf0
add esp, 4
push str.wildcard
push 0x5fbd04
mov ecx, edi
call fcn.0042ff30
push 0x5f
push 0x2e
mov ecx, edi
call fcn.00421860
mov eax, dword [ebp - 0x18]
mov ecx, edi
push 4
cmp dword [eax + 0x180], 0
jne 0x42ed58
cmp dword [eax + 0x188], 0
jne 0x42ed51
push str..pfx
jmp 0x42ed5d
push str..key
jmp 0x42ed5d
push str..cer
call fcn.00407970
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x42ed80
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x44]
push 0
call fcn.0046da26
push 5
push 0
push 0x470
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 0x44]
call fcn.004781e9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403a80
push 0x2e
push ecx
call fcn.00584a3c
add esp, 8
test eax, eax
je 0x42f020
sub eax, dword [edi]
js 0x42f020
cmp dword [ebx + 0x180], 0
mov ecx, edi
jne 0x42ef10
inc eax
cmp dword [ebx + 0x188], 0
push eax
jne 0x42ee86
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00430130
push 0x5f4e94
push dword [eax]
call fcn.005839b8
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov esi, dword [ebp - 0x24]
or edx, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 0x28], eax
lea ecx, [esi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ee41
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42ed83
push dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00426000
push eax
mov ecx, edi
mov dword [ebp - 4], 4
call fcn.004054a0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00403a60
push 0x5f4e94
mov ecx, edi
call fcn.00407a80
jmp 0x42ed83
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00430130
push 0x5fbd3c
push dword [eax]
call fcn.005839b8
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov esi, dword [ebp - 0x30]
or edx, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 0x2c], eax
lea ecx, [esi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42eecb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x42ed83
push dword [ebp - 0x28]
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.00426000
push eax
mov ecx, edi
mov dword [ebp - 4], 6
call fcn.004054a0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00403a60
push 0x5fbd3c
mov ecx, edi
call fcn.00407a80
jmp 0x42ed83
lea esi, [eax + 1]
push esi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x34], esi
push eax
call fcn.00430130
mov dword [ebp - 4], 7
mov ebx, 1
push 0x5fbd40
push dword [eax]
mov dword [ebp - 0x1c], ebx
call fcn.005839b8
add esp, 8
test eax, eax
je 0x42ef6a
push esi
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.00430130
push 0x5fbd44
push dword [eax]
mov ebx, 3
call fcn.005839b8
add esp, 8
mov byte [ebp - 0xd], 1
test eax, eax
jne 0x42ef6e
mov byte [ebp - 0xd], 0
or esi, 0xffffffff
mov dword [ebp - 4], 7
test bl, 2
je 0x42ef9f
mov edx, dword [ebp - 0x38]
and ebx, 0xfffffffd
add edx, 0xfffffff0
mov dword [ebp - 0x1c], ebx
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42ef9f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x42efc7
mov edx, dword [ebp - 0x3c]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42efc7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x42ed80
push dword [ebp - 0x34]
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00426000
push eax
mov ecx, edi
mov dword [ebp - 4], 9
call fcn.004054a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x42f00f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5fbd40
mov ecx, edi
call fcn.00407a80
jmp 0x42ed80
cmp dword [ebx + 0x180], 0
mov ecx, edi
jne 0x42f052
cmp dword [ebx + 0x188], 0
jne 0x42f043
push str..pfx
call fcn.00407a80
jmp 0x42ed83
push str..key
call fcn.00407a80
jmp 0x42ed83
push 4
push str..cer
call fcn.00407970
jmp 0x42ed83