Function at 0x4062d0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x429e38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
xor ebx, ebx
mov dword [ebp + 0x88], ebx
mov eax, dword [ebp + 0x84]
mov edi, dword [eax + 0x14]
push 0x2e
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], vtable.CZipAutoBuffer.0
call sub.mfc90u.dll_new
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x2e
mov dword [esp + 0x38], ebx
push 1
mov eax, edi
cmp byte [esp + 0x48], bl
je 0x40636a
push esi
mov ebx, 0x2e
call fcn.0040d7f0
lea eax, [esp + 0x24]
call fcn.00405f80
test al, al
jne 0x406378
test esi, esi
je 0x406363
push esi
call sub.mfc90u.dll_delete
add esp, 4
xor al, al
jmp 0x4068e5
lea ecx, [esi + 4]
push ecx
mov ebx, 0x2a
call fcn.0040d7f0
movzx edx, word [esi + 4]
xor eax, eax
mov word [ebp + 0xa], ax
movzx ecx, word [esi + 6]
mov word [ebp + 0xa], cx
mov word [esp + 0x40], dx
xor edx, edx
mov word [ebp + 0xc], dx
movzx eax, word [esi + 8]
mov word [ebp + 0xc], ax
xor ecx, ecx
mov word [ebp + 0xe], cx
movzx edx, word [esi + 0xa]
mov word [ebp + 0xe], dx
xor eax, eax
mov word [ebp + 0x10], ax
movzx ecx, word [esi + 0xc]
mov word [ebp + 0x10], cx
xor edx, edx
mov word [ebp + 0x12], dx
movzx eax, word [esi + 0xe]
mov word [ebp + 0x12], ax
xor edi, edi
mov dword [ebp + 0x14], edi
mov ecx, dword [esi + 0x10]
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
mov edx, dword [esi + 0x14]
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], edi
mov eax, dword [esi + 0x18]
mov dword [ebp + 0x20], eax
movzx ecx, word [esi + 0x1e]
movzx edx, word [esi + 0x20]
mov bx, word [esi + 0x1c]
mov dword [ebp + 0x28], edi
movzx eax, word [esi + 0x22]
mov word [ebp + 0x28], ax
mov word [esp + 0x1c], cx
xor ecx, ecx
mov word [ebp + 0x2c], cx
mov word [esp + 0x44], dx
movzx edx, word [esi + 0x24]
mov word [ebp + 0x2c], dx
mov dword [ebp + 0x78], edi
mov eax, dword [esi + 0x26]
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x40], edi
mov dword [ebp + 0x44], edi
mov ecx, dword [esi + 0x2a]
mov dword [ebp + 0x40], ecx
cmp esi, edi
je 0x406445
push esi
call sub.mfc90u.dll_delete
add esp, 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov esi, edi
mov cl, byte [ebp + 0xc]
mov eax, dword [esp + 0x40]
mov dl, byte [esp + 0x40]
and cl, 1
shr eax, 8
neg cl
sbb cl, cl
and cl, 1
mov byte [ebp + 8], dl
mov edx, dword [esp + 0x18]
dec cl
movzx ebx, bx
mov byte [ebp + 0xac], al
mov byte [ebp + 0x7e], cl
mov eax, dword [edx + 0x40]
mov dword [esp + 0x20], eax
cmp ebx, dword [ebp + 0x94]
je 0x4064c1
mov eax, dword [ebp + 0x90]
cmp eax, edi
je 0x4064a0
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov dword [ebp + 0x94], edi
mov dword [ebp + 0x90], edi
cmp ebx, edi
jbe 0x4064bb
push ebx
call sub.mfc90u.dll_new
add esp, 4
mov dword [ebp + 0x90], eax
mov dword [ebp + 0x94], ebx
jmp 0x4064c1
mov dword [ebp + 0x90], edi
mov ecx, dword [ebp + 0x90]
mov eax, dword [esp + 0x18]
push 1
push ecx
call fcn.0040d7f0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea eax, [ebp + 0x60]
push edx
push eax
mov dword [esp + 0x1c], eax
call fcn.0040f690
test al, al
je 0x406356
mov eax, 0x800
test word [ebp + 0xc], ax
je 0x406503
or dword [ebp + 0x88], 4
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push ecx
mov edi, 0x7075
call fcn.0040fb80
mov dword [esp + 0x40], eax
test eax, eax
je 0x406606
movzx edi, word [eax + 8]
cmp di, 5
jb 0x406606
mov eax, dword [eax + 4]
cmp byte [eax], 1
jne 0x406606
mov esi, dword [eax + 1]
mov ecx, dword [ebp + 0x90]
xor eax, eax
test ecx, ecx
je 0x406552
mov edx, ebx
call fcn.00410060
cmp eax, esi
jne 0x4065ff
movzx edi, di
sub edi, 5
test edi, edi
jle 0x4065ff
cmp edi, dword [ebp + 0x94]
lea esi, [ebp + 0x8c]
je 0x4065a6
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x40658e
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
cmp edi, ebx
jbe 0x4065a3
push edi
call sub.mfc90u.dll_new
add esp, 4
mov dword [esi + 4], eax
mov dword [esi + 8], edi
jmp 0x4065a6
mov dword [esi + 4], ebx
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 0x90]
push edi
add eax, 5
push eax
push ecx
call sub.MSVCR90.dll_memcpy
mov edx, dword [ebp + 0x88]
shr edx, 2
add esp, 0xc
test dl, 1
jne 0x4065ff
mov ebx, esi
call fcn.00405fe0
mov eax, dword [ebp + 0x98]
push 0xfde9
push esi
call fcn.0040cc40
add esp, 8
call fcn.00406070
mov eax, dword [ebp + 0x98]
push 0x5c
push 0x2f
push eax
call fcn.0040fe90
or dword [ebp + 0x88], 1
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x40]
push eax
mov edi, 1
call fcn.0040fb80
xor edi, edi
cmp eax, edi
je 0x4066fe
movzx edx, word [eax + 8]
or esi, 0xffffffff
xor ecx, ecx
mov dword [esp + 0x40], edx
cmp dword [ebp + 0x20], esi
jne 0x40666d
cmp dword [ebp + 0x24], edi
jne 0x40666d
mov ecx, 8
cmp cx, dx
jbe 0x406654
lea ecx, [esp + 0x24]
call fcn.0040f5e0
xor al, al
jmp 0x4068e5
mov ecx, dword [eax + 4]
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], edi
mov ebx, dword [ecx]
mov dword [ebp + 0x20], ebx
mov ecx, dword [ecx + 4]
mov dword [ebp + 0x24], ecx
mov ecx, 8
cmp dword [ebp + 0x18], esi
jne 0x4066a4
cmp dword [ebp + 0x1c], edi
jne 0x4066a4
movzx esi, cx
movzx edx, dx
lea ebx, [esi + 8]
cmp ebx, edx
jg 0x406644
mov edx, dword [eax + 4]
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
mov ebx, dword [edx + esi]
mov dword [ebp + 0x18], ebx
mov edx, dword [edx + esi + 4]
mov dword [ebp + 0x1c], edx
mov edx, dword [esp + 0x40]
add ecx, 8
or esi, 0xffffffff
cmp dword [ebp + 0x40], esi
jne 0x4066d8
cmp dword [ebp + 0x44], edi
jne 0x4066d8
movzx esi, cx
movzx edx, dx
lea ebx, [esi + 8]
cmp ebx, edx
jg 0x406644
mov edx, dword [eax + 4]
mov dword [ebp + 0x40], edi
mov dword [ebp + 0x44], edi
mov ebx, dword [edx + esi]
mov dword [ebp + 0x40], ebx
mov edx, dword [edx + esi + 4]
mov dword [ebp + 0x44], edx
mov edx, dword [esp + 0x40]
add ecx, 8
cmp dword [ebp + 0x28], 0xffff
jne 0x4066fe
movzx ecx, cx
movzx edx, dx
lea esi, [ecx + 4]
cmp esi, edx
jg 0x406644
mov eax, dword [eax + 4]
mov dword [ebp + 0x28], edi
mov eax, dword [eax + ecx]
mov dword [ebp + 0x28], eax
cmp word [ebp + 0xe], 0x63
jne 0x406749
cmp byte [ebp + 0x7e], 0xff
lea ebx, [ebp + 0x7e]
je 0x406749
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push ecx
mov edi, 0x9901
call fcn.0040fb80
mov ecx, eax
test ecx, ecx
je 0x406747
push ebx
lea esi, [ebp + 0xe]
lea eax, [esp + 0x44]
call fcn.00406900
add esp, 4
test al, al
je 0x406747
cmp word [esp + 0x40], 2
sete dl
mov byte [ebp + 0x7f], dl
xor edi, edi
mov bx, word [esp + 0x44]
cmp bx, di
je 0x4067b7
movzx esi, bx
cmp esi, dword [ebp + 0xa4]
je 0x40679e
mov eax, dword [ebp + 0xa0]
cmp eax, edi
je 0x40677d
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov dword [ebp + 0xa4], edi
mov dword [ebp + 0xa0], edi
cmp esi, edi
jbe 0x406798
push esi
call sub.mfc90u.dll_new
add esp, 4
mov dword [ebp + 0xa0], eax
mov dword [ebp + 0xa4], esi
jmp 0x40679e
mov dword [ebp + 0xa0], edi
mov eax, dword [ebp + 0xa0]
push 1
push eax
mov eax, dword [esp + 0x20]
mov ebx, esi
call fcn.0040d7f0
mov bx, word [esp + 0x44]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x44]
push ecx
mov edi, 0x6375
call fcn.0040fb80
mov dword [esp + 0x40], eax
test eax, eax
je 0x4068ab
movzx edi, word [eax + 8]
cmp di, 5
jb 0x4068ab
mov eax, dword [eax + 4]
cmp byte [eax], 1
jne 0x4068ab
mov esi, dword [eax + 1]
mov ecx, dword [ebp + 0xa0]
xor eax, eax
movzx edx, bx
test ecx, ecx
je 0x406807
call fcn.00410060
cmp eax, esi
jne 0x4068a4
movzx edi, di
sub edi, 5
test edi, edi
jle 0x4068a4
cmp edi, dword [ebp + 0xa4]
lea esi, [ebp + 0x9c]
je 0x40685b
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x406843
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
cmp edi, ebx
jbe 0x406858
push edi
call sub.mfc90u.dll_new
add esp, 4
mov dword [esi + 4], eax
mov dword [esi + 8], edi
jmp 0x40685b
mov dword [esi + 4], ebx
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 0xa0]
push edi
add eax, 5
push eax
push ecx
call sub.MSVCR90.dll_memcpy
mov edx, dword [ebp + 0x88]
shr edx, 2
add esp, 0xc
test dl, 1
jne 0x4068a4
mov ebx, esi
call fcn.00405fe0
mov eax, dword [ebp + 0xa8]
push 0xfde9
push esi
call fcn.0040cc40
add esp, 8
call fcn.00406070
or dword [ebp + 0x88], 2
mov edi, dword [esp + 0x14]
call fcn.0040f880
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x40], ecx
je 0x4068d0
mov edx, dword [eax + 0x60]
and edx, 0x70
cmp dl, 0x70
je 0x4068d0
xor bl, bl
jmp 0x4068d2
mov bl, 1
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4068e3
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8