Function at 0x40bc43
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x4b7f10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x90], 0
mov dword [ebp - 0x230], edi
je 0x40bf6c
push edi
call fcn.0040c398
mov ebx, eax
test ebx, ebx
je 0x40bf6c
lea esi, [edi + 0x48]
mov dword [ebp - 0x24c], esi
mov dword [ebx + 0x1a8], 3
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x240], 1
call fcn.00403dfb
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.00403dfb
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x258]
call fcn.00403dbd
test al, al
jne 0x40bd2d
lea ecx, [ebp - 0x258]
call fcn.0040e19a
cmp dword [ebx + 0x34], 8
mov ecx, dword [eax]
jb 0x40bce7
mov eax, dword [ebx + 0x20]
jmp 0x40bcea
lea eax, [ebx + 0x20]
mov edx, dword [ecx]
lea edi, [ebp - 0x240]
push edi
push eax
call dword [edx + 0x1c]
lea ecx, [ebp - 0x258]
call fcn.0040e1c6
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.00403dfb
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x258]
call fcn.00403dbd
test al, al
je 0x40bccf
mov edi, dword [ebp - 0x230]
cmp dword [ebp - 0x240], 0
jne 0x40bd45
mov dword [ebx + 0x1a8], 8
jmp 0x40bf5c
mov edi, dword [ebp - 0x230]
add edi, 0xb4
lea esi, [ebp - 0x23c]
call fcn.0040db73
lea esi, [ebp - 0x270]
call fcn.0040db8f
mov esi, eax
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x40bd77
cmp eax, dword [esi]
je 0x40bd7c
call fcn.0046c869
mov eax, dword [ebp - 0x238]
cmp eax, dword [esi + 4]
je 0x40bdab
lea esi, [ebp - 0x23c]
call fcn.0040dc8b
mov eax, dword [eax]
cmp dword [eax + 0xe0], 1
jne 0x40bda4
call fcn.0041120e
jmp 0x40bd5c
mov esi, eax
jmp 0x40be41
push 0x170
call fcn.0046cc54
pop ecx
test eax, eax
je 0x40bdc9
mov ecx, eax
call fcn.0040ff14
mov dword [ebp - 0x234], eax
jmp 0x40bdd0
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x234]
add eax, 4
push eax
call fcn.0041012d
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x40bdf0
xor eax, eax
jmp 0x40bdf8
mov eax, dword [edi + 0x14]
sub eax, edx
sar eax, 2
mov ecx, dword [edi + 0x10]
mov esi, ecx
sub esi, edx
sar esi, 2
cmp esi, eax
jae 0x40be16
mov esi, dword [ebp - 0x234]
mov dword [ecx], esi
add ecx, 4
mov dword [edi + 0x10], ecx
jmp 0x40be41
lea esi, [ebp - 0x260]
call fcn.0040db8f
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
mov eax, edi
call fcn.0040df66
mov esi, dword [ebp - 0x234]
mov edi, dword [ebp - 0x230]
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x40be57
mov dword [esi + 0x168], eax
lea eax, [ebx + 0x1c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00401918
push 0x4a8678
lea ecx, [ebx + 0x188]
call fcn.0040a395
test eax, eax
je 0x40bed4
lea eax, [ebp - 0x24d]
push eax
mov eax, dword [ebp - 0x218]
add eax, 0xfffffffc
push eax
push 0
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x28c]
call fcn.00402f53
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.004019a1
push 0
push 1
lea ecx, [ebp - 0x28c]
call fcn.00401a58
push str..zip
lea ecx, [ebp - 0x22c]
call fcn.0040197d
mov edx, dword [ebp - 0x228]
push 8
pop eax
cmp dword [ebp - 0x214], eax
jae 0x40beeb
lea edx, [ebp - 0x228]
cmp dword [edi + 0x44], eax
jb 0x40bef5
mov edi, dword [edi + 0x30]
jmp 0x40bef8
add edi, 0x30
cmp dword [ebx + 0x6c], eax
jb 0x40bf02
mov ecx, dword [ebx + 0x58]
jmp 0x40bf05
lea ecx, [ebx + 0x58]
cmp dword [ebx + 0x50], eax
jb 0x40bf0f
mov eax, dword [ebx + 0x3c]
jmp 0x40bf12
lea eax, [ebx + 0x3c]
push ebx
push edx
push edi
push ecx
push eax
mov ecx, esi
call fcn.00410203
test eax, eax
je 0x40bf41
mov dword [ebx + 0x1a8], 4
mov eax, ebx
mov ebx, dword [ebp - 0x230]
call fcn.0040c296
test eax, eax
je 0x40bfe9
push 0
push 1
lea ecx, [ebp - 0x22c]
call fcn.00401a58
mov esi, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x230]
push edi
call fcn.0040c398
mov ebx, eax
test ebx, ebx
jne 0x40bc87
mov esi, dword [ebp - 0x230]
mov ecx, esi
call fcn.0040c54c
mov ebx, eax
test ebx, ebx
je 0x40c1ab
lea edi, [esi + 0x9c]
mov dword [ebp - 0x240], edi
lea esi, [ebp - 0x23c]
mov dword [ebx + 0x1a8], 7
call fcn.0040db73
lea esi, [ebp - 0x268]
call fcn.0040db8f
mov esi, eax
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x40bfbf
cmp eax, dword [esi]
je 0x40bfc4
call fcn.0046c869
mov eax, dword [ebp - 0x238]
cmp eax, dword [esi + 4]
je 0x40c015
lea esi, [ebp - 0x23c]
call fcn.0040dc8b
mov eax, dword [eax]
cmp dword [eax + 0x24], 1
jne 0x40c00a
call fcn.0041120e
jmp 0x40bfa4
push 0
push 1
lea ecx, [ebp - 0x22c]
call fcn.00401a58
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046cc2a
leave
ret
mov dword [ebp - 0x234], eax
jmp 0x40c0a5
push 0x7c
call fcn.0046cc54
pop ecx
test eax, eax
je 0x40c030
mov esi, eax
call fcn.00413200
mov dword [ebp - 0x234], eax
jmp 0x40c037
and dword [ebp - 0x234], 0
mov esi, dword [ebp - 0x230]
mov eax, dword [ebp - 0x234]
push esi
call fcn.004132d3
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x40c054
xor eax, eax
jmp 0x40c05c
mov eax, dword [edi + 0x14]
sub eax, edx
sar eax, 2
mov ecx, dword [edi + 0x10]
mov edi, ecx
sub edi, edx
sar edi, 2
cmp edi, eax
mov edi, dword [ebp - 0x240]
jae 0x40c080
mov eax, dword [ebp - 0x234]
mov dword [ecx], eax
add ecx, 4
mov dword [edi + 0x10], ecx
jmp 0x40c0ab
lea esi, [ebp - 0x260]
call fcn.0040db8f
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x270]
push eax
mov eax, edi
call fcn.0040df66
mov esi, dword [ebp - 0x230]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0046cbb0
add esp, 0xc
cmp dword [ebx + 0x34], 8
jb 0x40c0d4
mov ecx, dword [ebx + 0x20]
jmp 0x40c0d7
lea ecx, [ebx + 0x20]
cmp dword [esi + 0x44], 8
jb 0x40c0e2
mov eax, dword [esi + 0x30]
jmp 0x40c0e5
lea eax, [esi + 0x30]
push ecx
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x4a868c
lea ecx, [ebx + 0xe0]
mov byte [ebp - 0x24c], 1
call fcn.0040a395
test eax, eax
je 0x40c116
mov byte [ebp - 0x24c], 0
cmp dword [esi + 0x90], 0
je 0x40c13b
cmp dword [ebx + 0x18], 8
jb 0x40c12a
mov eax, dword [ebx + 4]
jmp 0x40c12d
lea eax, [ebx + 4]
push dword [esi + 0x124]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esi + 0xcc]
lea ecx, [eax + 1]
mov dword [esi + 0xcc], ecx
cmp dword [ebx + 0x88], 8
jb 0x40c158
mov ecx, dword [ebx + 0x74]
jmp 0x40c15b
lea ecx, [ebx + 0x74]
push dword [ebp - 0x24c]
mov edx, dword [ebp - 0x234]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00413348
test eax, eax
je 0x40c194
mov dword [ebx + 0x1a8], 9
mov eax, ebx
mov ebx, esi
call fcn.0040c296
test eax, eax
je 0x40bff8
mov ecx, esi
call fcn.0040c54c
mov ebx, eax
test ebx, ebx
jne 0x40bf8f
mov esi, dword [ebp - 0x230]
mov eax, dword [esi + 0x78]
mov eax, dword [eax]
mov ebx, dword [ebp - 0x230]
mov dword [ebp - 0x238], eax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x244], eax
mov eax, dword [ebx + 0x60]
lea edi, [ebp - 0x248]
lea esi, [ebp - 0x23c]
mov dword [ebp - 0x248], eax
call fcn.00416974
test al, al
jne 0x40c222
call fcn.0040e1f5
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x1a8]
cmp eax, 2
je 0x40c28f
cmp eax, 3
je 0x40c28f
cmp eax, 6
je 0x40c28f
cmp eax, 7
je 0x40c28f
cmp eax, 5
je 0x40c28f
call fcn.0040e9e4
jmp 0x40c1c5
lea eax, [ebx + 0x94]
cmp dword [eax], 0
jne 0x40c28f
lea esi, [ebx + 0x48]
push esi
mov dword [eax], 1
push dword [esi + 0xc]
lea ecx, [ebp - 0x23c]
call fcn.00403dfb
push esi
push dword [esi + 0x10]
jmp 0x40c26e
lea ecx, [ebp - 0x23c]
call fcn.0040e19a
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
lea ecx, [ebp - 0x23c]
call fcn.0040e1c6
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.00403dfb
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00403dbd
test al, al
je 0x40c24b
xor eax, eax
jmp 0x40bffb