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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x4b7f60]
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 0x40bff6
push edi
call fcn.0040c422
mov ebx, eax
test ebx, ebx
je 0x40bff6
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.0040ebaf
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.0040ebaf
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x258]
call fcn.00403db3
test al, al
jne 0x40bdb7
lea ecx, [ebp - 0x258]
call fcn.0040e287
cmp dword [ebx + 0x34], 8
mov ecx, dword [eax]
jb 0x40bd71
mov eax, dword [ebx + 0x20]
jmp 0x40bd74
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.0040e2b3
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.0040ebaf
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x258]
call fcn.00403db3
test al, al
je 0x40bd59
mov edi, dword [ebp - 0x230]
cmp dword [ebp - 0x240], 0
jne 0x40bdcf
mov dword [ebx + 0x1a8], 8
jmp 0x40bfe6
mov edi, dword [ebp - 0x230]
add edi, 0xb4
lea esi, [ebp - 0x23c]
call fcn.0040dbe5
lea esi, [ebp - 0x270]
call fcn.0040dc01
mov esi, eax
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x40be01
cmp eax, dword [esi]
je 0x40be06
call fcn.0046d3d9
mov eax, dword [ebp - 0x238]
cmp eax, dword [esi + 4]
je 0x40be35
lea esi, [ebp - 0x23c]
call fcn.00413bce
mov eax, dword [eax]
cmp dword [eax + 0xe0], 1
jne 0x40be2e
call fcn.00413bf6
jmp 0x40bde6
mov esi, eax
jmp 0x40becb
push 0x170
call fcn.0046d7c4
pop ecx
test eax, eax
je 0x40be53
mov ecx, eax
call fcn.004101f5
mov dword [ebp - 0x234], eax
jmp 0x40be5a
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x234]
add eax, 4
push eax
call fcn.0041040e
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x40be7a
xor eax, eax
jmp 0x40be82
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 0x40bea0
mov esi, dword [ebp - 0x234]
mov dword [ecx], esi
add ecx, 4
mov dword [edi + 0x10], ecx
jmp 0x40becb
lea esi, [ebp - 0x260]
call fcn.0040dc01
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
mov eax, edi
call fcn.0040e053
mov esi, dword [ebp - 0x234]
mov edi, dword [ebp - 0x230]
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x40bee1
mov dword [esi + 0x168], eax
lea eax, [ebx + 0x1c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.004018dc
push 0x4a87e8
lea ecx, [ebx + 0x188]
call fcn.0040a41f
test eax, eax
je 0x40bf5e
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.00402f49
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00401965
push 0
push 1
lea ecx, [ebp - 0x28c]
call fcn.00401a1c
push str..zip
lea ecx, [ebp - 0x22c]
call fcn.00401941
mov edx, dword [ebp - 0x228]
push 8
pop eax
cmp dword [ebp - 0x214], eax
jae 0x40bf75
lea edx, [ebp - 0x228]
cmp dword [edi + 0x44], eax
jb 0x40bf7f
mov edi, dword [edi + 0x30]
jmp 0x40bf82
add edi, 0x30
cmp dword [ebx + 0x6c], eax
jb 0x40bf8c
mov ecx, dword [ebx + 0x58]
jmp 0x40bf8f
lea ecx, [ebx + 0x58]
cmp dword [ebx + 0x50], eax
jb 0x40bf99
mov eax, dword [ebx + 0x3c]
jmp 0x40bf9c
lea eax, [ebx + 0x3c]
push ebx
push edx
push edi
push ecx
push eax
mov ecx, esi
call fcn.004104f0
test eax, eax
je 0x40bfcb
mov dword [ebx + 0x1a8], 4
mov eax, ebx
mov ebx, dword [ebp - 0x230]
call fcn.0040c320
test eax, eax
je 0x40c073
push 0
push 1
lea ecx, [ebp - 0x22c]
call fcn.00401a1c
mov esi, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x230]
push edi
call fcn.0040c422
mov ebx, eax
test ebx, ebx
jne 0x40bd11
mov esi, dword [ebp - 0x230]
mov ecx, esi
call fcn.0040c5d6
mov ebx, eax
test ebx, ebx
je 0x40c235
lea edi, [esi + 0x9c]
mov dword [ebp - 0x240], edi
lea esi, [ebp - 0x23c]
mov dword [ebx + 0x1a8], 7
call fcn.0040dbe5
lea esi, [ebp - 0x268]
call fcn.0040dc01
mov esi, eax
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x40c049
cmp eax, dword [esi]
je 0x40c04e
call fcn.0046d3d9
mov eax, dword [ebp - 0x238]
cmp eax, dword [esi + 4]
je 0x40c09f
lea esi, [ebp - 0x23c]
call fcn.00413bce
mov eax, dword [eax]
cmp dword [eax + 0x24], 1
jne 0x40c094
call fcn.00413bf6
jmp 0x40c02e
push 0
push 1
lea ecx, [ebp - 0x22c]
call fcn.00401a1c
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d79a
leave
ret
mov dword [ebp - 0x234], eax
jmp 0x40c12f
push 0x7c
call fcn.0046d7c4
pop ecx
test eax, eax
je 0x40c0ba
mov esi, eax
call fcn.00413306
mov dword [ebp - 0x234], eax
jmp 0x40c0c1
and dword [ebp - 0x234], 0
mov esi, dword [ebp - 0x230]
mov eax, dword [ebp - 0x234]
push esi
call fcn.004133d9
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x40c0de
xor eax, eax
jmp 0x40c0e6
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 0x40c10a
mov eax, dword [ebp - 0x234]
mov dword [ecx], eax
add ecx, 4
mov dword [edi + 0x10], ecx
jmp 0x40c135
lea esi, [ebp - 0x260]
call fcn.0040dc01
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x270]
push eax
mov eax, edi
call fcn.0040e053
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.0046d720
add esp, 0xc
cmp dword [ebx + 0x34], 8
jb 0x40c15e
mov ecx, dword [ebx + 0x20]
jmp 0x40c161
lea ecx, [ebx + 0x20]
cmp dword [esi + 0x44], 8
jb 0x40c16c
mov eax, dword [esi + 0x30]
jmp 0x40c16f
lea eax, [esi + 0x30]
push ecx
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x4a87fc
lea ecx, [ebx + 0xe0]
mov byte [ebp - 0x24c], 1
call fcn.0040a41f
test eax, eax
je 0x40c1a0
mov byte [ebp - 0x24c], 0
cmp dword [esi + 0x90], 0
je 0x40c1c5
cmp dword [ebx + 0x18], 8
jb 0x40c1b4
mov eax, dword [ebx + 4]
jmp 0x40c1b7
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 0x40c1e2
mov ecx, dword [ebx + 0x74]
jmp 0x40c1e5
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.0041344e
test eax, eax
je 0x40c21e
mov dword [ebx + 0x1a8], 9
mov eax, ebx
mov ebx, esi
call fcn.0040c320
test eax, eax
je 0x40c082
mov ecx, esi
call fcn.0040c5d6
mov ebx, eax
test ebx, ebx
jne 0x40c019
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.0041680c
test al, al
jne 0x40c2ac
call fcn.004167e1
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x1a8]
cmp eax, 2
je 0x40c319
cmp eax, 3
je 0x40c319
cmp eax, 6
je 0x40c319
cmp eax, 7
je 0x40c319
cmp eax, 5
je 0x40c319
call fcn.00416d97
jmp 0x40c24f
lea eax, [ebx + 0x94]
cmp dword [eax], 0
jne 0x40c319
lea esi, [ebx + 0x48]
push esi
mov dword [eax], 1
push dword [esi + 0xc]
lea ecx, [ebp - 0x23c]
call fcn.0040ebaf
push esi
push dword [esi + 0x10]
jmp 0x40c2f8
lea ecx, [ebp - 0x23c]
call fcn.0040e287
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
lea ecx, [ebp - 0x23c]
call fcn.0040e2b3
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.0040ebaf
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00403db3
test al, al
je 0x40c2d5
xor eax, eax
jmp 0x40c085