Function at 0x40aa20
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4bbf38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ce028]
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 0x40aac2
push esi
mov ebx, 0x2e
call fcn.00412290
lea eax, [esp + 0x24]
call fcn.0040a6c0
test al, al
jne 0x40aad0
mov dword [esp + 0x38], 0xffffffff
test esi, esi
je 0x40aabb
push esi
call sub.mfc90u.dll_delete
add esp, 4
xor al, al
jmp 0x40b05f
lea ecx, [esi + 4]
push ecx
mov ebx, 0x2a
call fcn.00412290
mov bx, word [esi + 4]
xor edx, edx
mov word [ebp + 0xa], dx
movzx eax, word [esi + 6]
mov word [ebp + 0xa], ax
xor ecx, ecx
mov word [ebp + 0xc], cx
movzx edx, word [esi + 8]
mov word [ebp + 0xc], dx
xor eax, eax
mov word [ebp + 0xe], ax
movzx ecx, word [esi + 0xa]
mov word [ebp + 0xe], cx
xor edx, edx
mov word [ebp + 0x10], dx
movzx eax, word [esi + 0xc]
mov word [ebp + 0x10], ax
xor ecx, ecx
mov word [ebp + 0x12], cx
movzx edx, word [esi + 0xe]
mov word [ebp + 0x12], dx
xor edi, edi
mov dword [ebp + 0x14], edi
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
mov ecx, dword [esi + 0x14]
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], edi
mov edx, dword [esi + 0x18]
mov dword [ebp + 0x20], edx
movzx eax, word [esi + 0x1c]
movzx ecx, word [esi + 0x1e]
movzx edx, word [esi + 0x20]
mov dword [ebp + 0x28], edi
mov word [esp + 0x40], ax
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 0x40ab9d
push esi
call sub.mfc90u.dll_delete
add esp, 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov esi, edi
mov dl, byte [ebp + 0xc]
movzx eax, bx
and dl, 1
shr eax, 8
neg dl
sbb dl, dl
mov byte [ebp + 8], bl
movzx ebx, word [esp + 0x40]
and dl, 1
mov byte [ebp + 0xac], al
mov eax, dword [esp + 0x18]
dec dl
mov byte [ebp + 0x7e], dl
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x20], ecx
cmp ebx, dword [ebp + 0x94]
je 0x40ac16
mov eax, dword [ebp + 0x90]
cmp eax, edi
je 0x40abf5
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov dword [ebp + 0x94], edi
mov dword [ebp + 0x90], edi
cmp ebx, edi
jbe 0x40ac10
push ebx
call sub.mfc90u.dll_new
add esp, 4
mov dword [ebp + 0x90], eax
mov dword [ebp + 0x94], ebx
jmp 0x40ac16
mov dword [ebp + 0x90], edi
mov eax, dword [ebp + 0x90]
push 1
push eax
mov eax, dword [esp + 0x20]
call fcn.00412290
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [ebp + 0x60]
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.004140b0
test al, al
je 0x40aaa6
mov edx, 0x800
test word [ebp + 0xc], dx
je 0x40ac59
or dword [ebp + 0x88], 4
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x40]
push eax
mov edi, 0x7075
call fcn.00414420
mov dword [esp + 0x40], eax
test eax, eax
je 0x40ad5b
mov edi, dword [eax + 8]
cmp di, 5
jb 0x40ad5b
mov eax, dword [eax + 4]
cmp byte [eax], 1
jne 0x40ad5b
mov esi, dword [eax + 1]
mov ecx, dword [ebp + 0x90]
xor eax, eax
test ecx, ecx
je 0x40aca7
mov edx, ebx
call fcn.00414980
cmp eax, esi
jne 0x40ad54
movzx edi, di
sub edi, 5
test edi, edi
jle 0x40ad54
cmp edi, dword [ebp + 0x94]
lea esi, [ebp + 0x8c]
je 0x40acfb
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x40ace3
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
cmp edi, ebx
jbe 0x40acf8
push edi
call sub.mfc90u.dll_new
add esp, 4
mov dword [esi + 4], eax
mov dword [esi + 8], edi
jmp 0x40acfb
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 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 0x40ad54
mov ebx, esi
call fcn.0040a720
mov eax, dword [ebp + 0x98]
push 0xfde9
push esi
call fcn.00411710
add esp, 8
call fcn.0040a7b0
mov eax, dword [ebp + 0x98]
push 0x5c
push 0x2f
push eax
call fcn.004147b0
or dword [ebp + 0x88], 1
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x40]
push eax
mov edi, 1
call fcn.00414420
xor edi, edi
cmp eax, edi
je 0x40ae71
mov edx, dword [eax + 8]
or esi, 0xffffffff
xor ecx, ecx
mov dword [esp + 0x40], edx
cmp dword [ebp + 0x20], esi
jne 0x40adc5
cmp dword [ebp + 0x24], edi
jne 0x40adc5
mov ecx, 8
cmp cx, dx
jbe 0x40adac
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
call fcn.00414000
xor al, al
jmp 0x40b05f
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 0x40ae14
cmp dword [ebp + 0x1c], edi
jne 0x40ae14
movzx esi, cx
movzx edx, dx
lea ebx, [esi + 8]
cmp ebx, edx
jle 0x40adf4
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.00414000
xor al, al
jmp 0x40b05f
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 0x40ae4b
cmp dword [ebp + 0x44], edi
jne 0x40ae4b
movzx esi, cx
movzx edx, dx
lea ebx, [esi + 8]
cmp ebx, edx
jg 0x40addc
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
or esi, 0xffffffff
cmp dword [ebp + 0x28], 0xffff
jne 0x40ae71
movzx ecx, cx
movzx edx, dx
lea ebx, [ecx + 4]
cmp ebx, edx
jg 0x40ad98
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 0x40aebc
cmp byte [ebp + 0x7e], 0xff
lea ebx, [ebp + 0x7e]
je 0x40aebc
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push ecx
mov edi, 0x9901
call fcn.00414420
mov ecx, eax
test ecx, ecx
je 0x40aeba
push ebx
lea esi, [ebp + 0xe]
lea eax, [esp + 0x44]
call fcn.0040b080
add esp, 4
test al, al
je 0x40aeba
cmp word [esp + 0x40], 2
sete dl
mov byte [ebp + 0x7f], dl
xor edi, edi
mov bx, word [esp + 0x44]
cmp bx, di
je 0x40af2a
movzx esi, bx
cmp esi, dword [ebp + 0xa4]
je 0x40af11
mov eax, dword [ebp + 0xa0]
cmp eax, edi
je 0x40aef0
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov dword [ebp + 0xa4], edi
mov dword [ebp + 0xa0], edi
cmp esi, edi
jbe 0x40af0b
push esi
call sub.mfc90u.dll_new
add esp, 4
mov dword [ebp + 0xa0], eax
mov dword [ebp + 0xa4], esi
jmp 0x40af11
mov dword [ebp + 0xa0], edi
mov eax, dword [ebp + 0xa0]
push 1
push eax
mov eax, dword [esp + 0x20]
mov ebx, esi
call fcn.00412290
mov bx, word [esp + 0x44]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
mov edi, 0x6375
call fcn.00414420
mov dword [esp + 0x40], eax
test eax, eax
je 0x40b01d
mov edi, dword [eax + 8]
cmp di, 5
jb 0x40b01d
mov eax, dword [eax + 4]
cmp byte [eax], 1
jne 0x40b01d
mov esi, dword [eax + 1]
mov ecx, dword [ebp + 0xa0]
xor eax, eax
movzx edx, bx
test ecx, ecx
je 0x40af79
call fcn.00414980
cmp eax, esi
jne 0x40b016
movzx edi, di
sub edi, 5
test edi, edi
jle 0x40b016
cmp edi, dword [ebp + 0xa4]
lea esi, [ebp + 0x9c]
je 0x40afcd
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x40afb5
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
cmp edi, ebx
jbe 0x40afca
push edi
call sub.mfc90u.dll_new
add esp, 4
mov dword [esi + 4], eax
mov dword [esi + 8], edi
jmp 0x40afcd
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 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 0x40b016
mov ebx, esi
call fcn.0040a720
mov eax, dword [ebp + 0xa8]
push 0xfde9
push esi
call fcn.00411710
add esp, 8
call fcn.0040a7b0
or dword [ebp + 0x88], 2
mov esi, dword [esp + 0x14]
call fcn.00414340
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x40], ecx
je 0x40b042
mov edx, dword [eax + 0x60]
and edx, 0x70
cmp dl, 0x70
je 0x40b042
xor bl, bl
jmp 0x40b044
mov bl, 1
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40b05d
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