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

Disassembly:
push 0xffffffffffffffff
push 0x5f3338
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x665ebc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x3c]
and eax, 0x70
cmp al, 0x70
je 0x4133af
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + 0x10]
xor edx, edx
cmp word [ecx + 0x24], dx
jne 0x4133a1
mov esi, dword [ecx + 0x28]
test esi, esi
jbe 0x4133a1
add eax, esi
adc edx, edx
mov esi, dword [ecx + 4]
push edx
push eax
mov al, 1
call fcn.00402a30
jmp 0x4133c0
mov eax, dword [ebp + 0x24]
mov edx, dword [eax + 0x10]
push 1
push 0
push edx
push ecx
call fcn.0041c340
mov edi, ebp
call fcn.00414760
mov eax, dword [ebp + 0x24]
xor ecx, ecx
mov dword [esp + 0x14], 0
cmp cx, word [eax + 0xa]
je 0x413440
push 0xa8
call fcn.00564e10
add esp, 4
test eax, eax
je 0x4133f7
push ebp
call fcn.00410470
mov dword [esp + 0x34], eax
jmp 0x4133ff
mov dword [esp + 0x34], 0
mov esi, dword [ebp + 0x1c]
mov ebx, dword [esi + 8]
test ebx, ebx
jl 0x4136eb
lea edi, [ebx + 1]
call fcn.00415990
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x34]
push 1
mov dword [edx + ebx*4], ecx
call fcn.004105e0
test al, al
je 0x4136f0
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x24]
inc eax
mov dword [esp + 0x14], eax
cmp ax, word [ecx + 0xa]
jne 0x4133da
test byte [ebp + 0xc], 1
je 0x413659
mov eax, dword [ebp + 0x14]
call fcn.0040f7a0
mov edx, dword [ebp + 0x24]
mov ecx, dword [edx]
xor esi, esi
xor edi, edi
cmp eax, ecx
jne 0x413493
cmp esi, edi
jne 0x413493
mov eax, dword [ebp + 0x14]
mov esi, dword [eax + 0x3c]
mov ecx, esi
shr ecx, 4
test cl, 1
je 0x413659
mov ecx, esi
and ecx, 0x70
cmp cl, 0x70
je 0x413659
movzx eax, word [eax + 0x24]
cmp ax, word [edx + 4]
je 0x413659
mov edi, vtable.CZipAutoBuffer.0
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], 4
push 4
call fcn.00564e4a
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
push 1
mov dword [esp + 0x30], 0
mov eax, dword [ebp + 0x14]
push esi
mov ebx, 4
call fcn.0041a8d0
mov ecx, dword [0x667cb8]
cmp dword [esi], ecx
je 0x413515
movzx eax, byte [esi]
movzx edx, cl
sub eax, edx
jne 0x413509
movzx eax, byte [esi + 1]
movzx ecx, ch
sub eax, ecx
jne 0x413509
movzx eax, byte [esi + 2]
movzx edx, byte [0x667cba]
sub eax, edx
jne 0x413509
movzx eax, byte [esi + 3]
movzx ecx, byte [0x667cbb]
sub eax, ecx
je 0x413515
sar eax, 0x1f
or eax, 1
jne 0x413644
push 0xa8
call fcn.00564e10
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x4135eb
mov dword [eax], vtable.CZipFileHeader.0
mov dword [eax + 0x34], ebx
mov dword [eax + 0x40], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], ebx
mov ecx, vtable.CZipArray_class_CZipExtraData__.0
mov dword [eax + 0x30], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ebx
mov dword [eax + 0x54], ebx
mov dword [eax + 0x50], ebx
mov dword [eax + 0x4c], ebx
mov dword [eax + 0x84], edi
mov dword [eax + 0x8c], ebx
mov dword [eax + 0x88], ebx
mov dword [eax + 0x90], ebx
mov dword [eax + 0x94], edi
mov dword [eax + 0x9c], ebx
mov dword [eax + 0x98], ebx
mov dword [eax + 0xa0], ebx
xor edx, edx
mov word [eax + 0x10], dx
xor ecx, ecx
mov edx, 8
mov word [eax + 0xe], dx
xor edx, edx
mov dword [eax + 0x70], ebx
mov word [eax + 0x12], cx
mov dword [eax + 0x68], ebx
mov dword [eax + 0x6c], ebx
mov dword [eax + 0x60], ebx
mov dword [eax + 0x64], ebx
mov dword [eax + 0x58], ebx
mov dword [eax + 0x5c], ebx
mov byte [eax + 8], bl
mov dword [eax + 0x14], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov word [eax + 0x74], cx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x78], ebx
mov word [eax + 0x20], dx
mov byte [eax + 0x76], 0xff
mov byte [eax + 0x77], bl
mov word [eax + 0xc], cx
mov dword [eax + 0x7c], ebp
mov dword [eax + 0x80], ebx
mov dword [esp + 0x34], eax
jmp 0x4135ef
mov dword [esp + 0x34], ebx
mov esi, dword [ebp + 0x1c]
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x4136eb
lea edi, [eax + 1]
call fcn.00415990
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
push ebx
mov dword [edx + eax*4], ecx
call fcn.004105e0
test al, al
je 0x4136f0
mov dword [esp + 0x2c], 0xffffffff
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00564e55
add esp, 4
mov edi, vtable.CZipAutoBuffer.0
jmp 0x4134a4
mov dword [esp + 0x2c], 0xffffffff
test esi, esi
je 0x413659
push esi
call fcn.00564e55
add esp, 4
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx + 8]
test eax, eax
je 0x41367d
jle 0x4136eb
mov edx, dword [ecx + 4]
push 0x412af0
push 4
push eax
push edx
call fcn.0059ec80
add esp, 0x10
mov esi, dword [ebp + 0x1c]
mov edi, dword [esi + 8]
cmp edi, 1
jbe 0x4136c1
test edi, edi
jle 0x4136eb
mov eax, dword [esi + 4]
mov edx, dword [eax]
mov eax, 1
cmp edi, eax
jbe 0x4136c1
test eax, eax
jl 0x4136eb
cmp eax, edi
jge 0x4136eb
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + eax*4]
mov bx, word [edx + 0x20]
cmp bx, word [ecx + 0x20]
jne 0x4136ba
mov edx, dword [edx + 0x2c]
cmp edx, dword [ecx + 0x2c]
je 0x4136fb
inc eax
mov edx, ecx
cmp eax, edi
jb 0x41369a
mov eax, dword [ebp + 0x24]
cmp byte [eax + 0x25], 0
je 0x4136d5
movzx eax, byte [eax + 0x24]
push eax
push ebp
call fcn.004147d0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
call fcn.00566b22
push 0xc9
push ebp
call fcn.00413300
push 0xc9
xor ebx, ebx
call fcn.00402970
int3