Function at 0x402cc0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6814e8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x783760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi + 0x70], 0
mov eax, dword [esi + 0x6c]
push 0x2e
mov dword [ebp - 0x24], vtable.CZipAutoBuffer.0
mov ebx, dword [eax + 0x14]
call fcn.0056e306
mov edi, eax
mov dword [ebp - 0x1c], 0x2e
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
mov ecx, ebx
cmp byte [ebp + 8], 0
push 1
je 0x402d3d
push 0x2e
push edi
call fcn.0040a030
mov eax, dword [edi]
cmp eax, dword [0x786504]
jne 0x402eb7
jmp 0x402d48
push 0x2a
lea eax, [edi + 4]
push eax
call fcn.0040a030
mov cx, word [edi + 4]
xor eax, eax
mov word [esi + 0xa], ax
movzx eax, word [edi + 6]
mov word [esi + 0xa], ax
xor eax, eax
mov word [esi + 0xc], ax
movzx eax, word [edi + 8]
mov word [esi + 0xc], ax
xor eax, eax
mov word [esi + 0xe], ax
movzx eax, word [edi + 0xa]
mov word [esi + 0xe], ax
xor eax, eax
mov word [esi + 0x10], ax
movzx eax, word [edi + 0xc]
mov word [esi + 0x10], ax
xor eax, eax
mov word [esi + 0x12], ax
movzx eax, word [edi + 0xe]
mov word [esi + 0x12], ax
mov dword [esi + 0x14], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
mov eax, dword [edi + 0x18]
mov dword [esi + 0x1c], eax
mov ax, word [edi + 0x1c]
mov word [ebp - 0xe], ax
movzx eax, word [edi + 0x1e]
mov word [ebp - 0x14], ax
mov ax, word [edi + 0x20]
mov word [ebp - 0x10], ax
xor eax, eax
mov word [esi + 0x20], ax
movzx eax, word [edi + 0x22]
mov word [esi + 0x20], ax
xor eax, eax
mov word [esi + 0x22], ax
movzx eax, word [edi + 0x24]
mov word [esi + 0x22], ax
mov dword [esi + 0x60], 0
mov eax, dword [edi + 0x26]
mov dword [esi + 0x60], eax
mov dword [esi + 0x2c], 0
mov eax, dword [edi + 0x2a]
mov word [ebp + 0xa], cx
mov dword [esi + 0x2c], eax
test edi, edi
je 0x402e28
push edi
call fcn.0056e30f
mov cx, word [ebp + 0xa]
add esp, 4
xor edi, edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], edi
movzx eax, cx
shr eax, 8
mov byte [esi + 0x94], al
mov al, byte [esi + 0xc]
and al, 1
mov byte [esi + 8], cl
neg al
sbb al, al
and al, 1
dec al
mov byte [esi + 0x66], al
movzx eax, word [ebx + 0x24]
mov dword [ebp - 0x18], eax
movzx eax, word [ebp - 0xe]
mov dword [ebp + 8], eax
cmp eax, dword [esi + 0x7c]
je 0x402e9a
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x402e7b
push ecx
call fcn.0056e30f
mov eax, dword [ebp + 8]
add esp, 4
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
test eax, eax
je 0x402e93
push eax
call fcn.0056e306
mov dword [esi + 0x78], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0x7c], eax
jmp 0x402e9a
mov dword [esi + 0x78], 0
push 1
push eax
push dword [esi + 0x78]
mov ecx, ebx
call fcn.0040a030
push dword [ebp - 0x14]
lea ecx, [esi + 0x3c]
push ebx
call fcn.0040c190
test al, al
jne 0x402ebe
xor bl, bl
jmp 0x402fb8
push ecx
lea ecx, [esi + 0x3c]
call fcn.00402760
mov dword [ebp + 8], eax
test eax, eax
je 0x402f1e
cmp dword [eax + 8], 0x20
jb 0x402f1e
mov eax, dword [eax + 4]
cmp word [eax + 4], 1
jne 0x402f1e
cmp word [eax + 6], 0x18
jne 0x402f1e
add eax, 8
push eax
call fcn.00403070
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x4c], edx
mov eax, dword [eax + 4]
add eax, 0x10
push eax
call fcn.00403070
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], edx
mov eax, dword [eax + 4]
add eax, 0x18
push eax
call fcn.00403070
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
mov ax, word [ebp - 0x10]
test ax, ax
je 0x402f97
movzx eax, ax
mov dword [ebp + 8], eax
cmp eax, dword [esi + 0x8c]
je 0x402f87
mov ecx, dword [esi + 0x88]
test ecx, ecx
je 0x402f5f
push ecx
call fcn.0056e30f
mov eax, dword [ebp + 8]
add esp, 4
mov dword [esi + 0x8c], 0
mov dword [esi + 0x88], 0
test eax, eax
je 0x402f7d
push eax
call fcn.0056e306
mov dword [esi + 0x88], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0x8c], eax
jmp 0x402f87
mov dword [esi + 0x88], 0
push 1
push eax
push dword [esi + 0x88]
mov ecx, ebx
call fcn.0040a030
lea ecx, [esi + 0x3c]
call fcn.0040c4b0
mov eax, dword [ebp - 0x18]
cmp word [ebx + 0x24], ax
je 0x402fb6
mov eax, dword [ebx + 0x3c]
and eax, 0x70
cmp al, 0x70
je 0x402fb6
xor bl, bl
jmp 0x402fb8
mov bl, 1
test edi, edi
je 0x402fc5
push edi
call fcn.0056e30f
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4