Function at 0x428670
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x459571
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x46be4c]
xor eax, esp
mov dword [esp + 0x314], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46be4c]
xor eax, esp
push eax
lea eax, [esp + 0x32c]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004317f7
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4286c9
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x334], esi
call fcn.004317f7
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4286fa
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x334], 1
call fcn.004317f7
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42872c
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x15
mov byte [esp + 0x338], 2
call fcn.004317cb
cmp eax, esi
je 0x42875b
push 0x15
push eax
lea ecx, [esp + 0x1c]
call fcn.004019c0
push 0x16
call fcn.004317cb
cmp eax, esi
je 0x428772
push 0x16
push eax
lea ecx, [esp + 0x24]
call fcn.004019c0
push 0x17
call fcn.004317cb
cmp eax, esi
je 0x428789
push 0x17
push eax
lea ecx, [esp + 0x20]
call fcn.004019c0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push 0x6c
mov dword [esp + 0xac], ecx
lea ecx, [esp + 0xb8]
push esi
push ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
call fcn.004413c0
mov ebp, 1
add esp, 0xc
cmp dword [edi + 0x110], ebp
mov dword [esp + 0x20], 0x14
mov dword [esp + 0x24], 9
mov dword [esp + 0x28], 8
mov dword [esp + 0x2c], 3
jne 0x42899b
push 0x103
lea edx, [esp + 0x229]
push esi
push edx
mov byte [esp + 0x230], 0
call fcn.004413c0
mov eax, 0xffffffe3
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov ecx, 0x7fffffff
mov eax, 0xffffff5c
add esp, 0xc
mov dword [esp + 0x30], 0xffffffef
mov dword [esp + 0x34], 0xffffff74
mov dword [esp + 0x38], 0xffffff73
mov dword [esp + 0x3c], 0xffffff58
mov dword [esp + 0x40], 0xffffff57
mov dword [esp + 0x44], 0xffffff56
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 0xffffffcd
mov dword [esp + 0x58], 0xffffffcb
mov dword [esp + 0x5c], 0xffffffcc
mov dword [esp + 0x60], 0xffffffcf
mov dword [esp + 0x64], 0xffffffce
mov dword [esp + 0x68], 0xffffffd0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
call fcn.004048c0
cmp eax, 0xa
jne 0x4288fe
push 0x103
lea eax, [esp + 0x125]
push esi
push eax
mov byte [esp + 0x12c], 0
call fcn.004413c0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.IMAGERES.DLL
lea edx, [esp + 0x124]
push edx
lea eax, [esp + 0x22c]
push 0x45ce28
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea esi, [esp + 0x224]
lea ebx, [esp + 0x54]
jmp 0x428902
lea ebx, [esp + 0x30]
cmp dword [edi + 0x114], ebp
lea ebp, [edi + 0x108]
jne 0x428959
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00439385
push eax
push 0
push 1
push ebx
push ebp
push esi
call fcn.00407bd0
add esp, 0x18
test ebp, ebp
jne 0x428945
mov edx, dword [edi + 0x94]
push ebp
push 1
push 0x1003
push edx
jmp 0x42898f
mov ebp, dword [ebp + 4]
mov edx, dword [edi + 0x94]
push ebp
push 1
push 0x1003
push edx
jmp 0x42898f
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00439385
push eax
push 0
push 0
push ebx
push ebp
push esi
call fcn.00407bd0
add esp, 0x18
test ebp, ebp
je 0x428980
mov ebp, dword [ebp + 4]
mov ecx, dword [edi + 0x94]
push ebp
push 0
push 0x1003
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.004378b6
mov eax, dword [edi + 0x94]
lea edx, [esp + 0x98]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
mov ebx, 0xf
lea ecx, [ecx]
mov ecx, dword [esp + esi*4 + 0xa8]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0xa0]
sub ecx, dword [esp + 0x98]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, dword [esp + esi*4 + 0x24]
mov edx, dword [edi + 0x94]
lea ecx, [esp + 0x78]
push ecx
push esi
push 0x101b
push edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x9c], esi
mov dword [esp + 0x90], eax
call ebp
add esi, 1
cmp esi, 3
jl 0x4289c0
mov ecx, edi
call fcn.00427c90
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x334], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428a5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x334], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428a85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x334], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428ab0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x32c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.0044027a
add esp, 0x324
ret