Function at 0x403ea0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x41c
mov eax, dword [0x40b020]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x40e
lea eax, [esp + 0x1a]
push ebx
push eax
mov edi, ecx
mov word [esp + 0x20], bx
call fcn.00407998
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x1a
push ebx
mov dword [esp + 0x18], ebx
call dword [0x409190]
test eax, eax
jne 0x403f13
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push eax
call dword [0x409194]
test eax, eax
je 0x403f0e
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x403f13
push eax
call dword [0x4091bc]
jmp 0x403f13
mov word [esp + 0x14], bx
lea eax, [esp + 0x14]
add eax, 0xfffffffe
lea ebx, [ebx]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x403f20
mov ecx, dword [0x409670]
mov edx, dword [0x409674]
mov dword [eax], ecx
mov ecx, dword [0x409678]
mov dword [eax + 4], edx
mov edx, dword [0x40967c]
mov dword [eax + 8], ecx
push ebp
mov ebp, dword [0x409024]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x18]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x403f67
mov word [esp + 0x18], bx
push 0x410
lea esi, [edi + 0xc20]
push ebx
push esi
call fcn.00407998
lea eax, [esp + 0x24]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403f83
sub eax, edx
sar eax, 1
jne 0x4040cb
mov eax, dword [edi + 0x1034]
cmp eax, ebx
jne 0x403fa9
push ebx
call dword [0x409054]
push 0x40f
push esi
push eax
call dword [0x409034]
cmp eax, 0x410
jae 0x4040cb
cmp eax, ebx
je 0x4040cb
mov word [edi + eax*2 + 0xc20], bx
mov edi, dword [0x40912c]
push 0x5c
push esi
call edi
add esp, 8
cmp eax, ebx
jne 0x403fef
push 0x2f
push esi
call edi
add esp, 8
cmp eax, ebx
je 0x403ff3
mov word [eax + 2], bx
mov eax, esi
add eax, 0xfffffffe
jmp 0x404000
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x404000
mov ecx, dword [str.config]
mov dword [eax], ecx
mov edx, dword [0x409684]
mov dword [eax + 4], edx
mov ecx, dword [0x409688]
mov dword [eax + 8], ecx
mov edx, dword [0x40968c]
push esi
mov dword [eax + 0xc], edx
call ebp
cmp eax, 0xffffffff
jne 0x40403f
mov word [esi], bx
jmp 0x4040cb
mov edi, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x404044
mov eax, dword [0x4092c8]
mov dword [edi], eax
mov eax, esi
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x404060
mov ecx, dword [str.HaoZip.hzv]
mov dword [eax], ecx
mov edx, dword [0x4092ac]
mov dword [eax + 4], edx
mov ecx, dword [0x4092b0]
push ebx
push 0x80
mov dword [eax + 8], ecx
mov edx, dword [0x4092b4]
push 4
mov dword [eax + 0xc], edx
mov ecx, dword [0x4092b8]
push ebx
push 7
mov dword [eax + 0x10], ecx
mov dx, word [0x4092bc]
push 0xc0000000
push esi
mov word [eax + 0x14], dx
call dword [0x4090ac]
cmp eax, 0xffffffff
jne 0x4040c4
mov word [esi], bx
jmp 0x4040cb
push eax
call dword [0x40900c]
mov eax, esi
lea edx, [eax + 2]
pop ebp
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4040d1
sub eax, edx
sar eax, 1
jne 0x404171
push 0x207
lea eax, [esp + 0x18]
push eax
push esi
call dword [0x409120]
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404100
sub eax, edx
sar eax, 1
je 0x404171
mov edi, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x404116
mov ecx, dword [0x4092c8]
mov dword [edi], ecx
add esi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [esi + 2]
add esi, 2
cmp ax, bx
jne 0x404130
mov edx, dword [str.HaoZip.hzv]
mov dword [esi], edx
mov eax, dword [0x4092ac]
mov dword [esi + 4], eax
mov ecx, dword [0x4092b0]
mov dword [esi + 8], ecx
mov edx, dword [0x4092b4]
mov dword [esi + 0xc], edx
mov eax, dword [0x4092b8]
mov dword [esi + 0x10], eax
mov cx, word [0x4092bc]
mov word [esi + 0x14], cx
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406ee8
add esp, 0x41c
ret