Function at 0x40ac70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d55a
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x45c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x190], edx
mov dword [ebp - 0x184], ecx
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1a4], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x17c], ecx
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x174], ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x178], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1b0], ecx
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
xor ecx, ecx
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], ecx
lea edi, [ecx + 1]
cmp byte [eax + 0x3c], cl
jne 0x40ad92
mov edi, dword [edx + 4]
xor ebx, ebx
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x168], ebx
test edi, edi
je 0x40af7b
jmp 0x40adb0
push 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov word [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0
add esp, 4
mov dword [ebp - 0x40], 3
mov word [eax], cx
mov eax, dword [ebp - 0x150]
xor esi, esi
mov byte [ebp - 4], 1
xor edi, edi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], edi
cmp byte [eax + 0x3c], cl
jne 0x40aec0
mov eax, dword [ebp - 0x18c]
mov edx, 2
mov eax, dword [eax]
mov edi, dword [eax + ebx*4]
mov esi, dword [edi + 4]
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
mov ecx, dword [edi + 4]
add esp, 4
mov ebx, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], esi
lea ecx, [ecx*2 + 2]
push ecx
push dword [edi]
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 1
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00423940
test al, al
je 0x40af35
mov eax, dword [ebp - 0x50]
shr eax, 4
test al, 1
jne 0x40af29
push ebx
mov byte [ebp - 4], 1
call fcn.00449b03
mov edi, dword [ebp - 0x6c]
add esp, 4
mov esi, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x168]
lea ecx, [ebp - 0x7c]
call fcn.00409850
mov ecx, dword [ebp - 0x78]
lea eax, [ecx + 1]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x7c]
mov dword [eax + ecx*8], esi
mov dword [eax + ecx*8 + 4], edi
mov edi, dword [ebp - 0x164]
add edi, dword [ebp - 0x70]
mov dword [ebp - 0x164], edi
mov edi, dword [ebp - 0x160]
adc edi, dword [ebp - 0x6c]
mov byte [ebp - 4], 0
push dword [ebp - 0x48]
mov dword [ebp - 0x160], edi
call fcn.00449b03
mov edi, dword [ebp - 0x16c]
inc ebx
add esp, 4
mov dword [ebp - 0x168], ebx
cmp ebx, edi
jb 0x40adb0
mov dword [ebp - 0xf4], 0
jmp 0x40af9f
mov ebx, 0x80004005
mov ecx, str.The_item_is_a_directory
jmp 0x40af58
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x40af48
mov ebx, 0x80004005
jmp 0x40af53
jle 0x40af53
movzx ebx, bx
or ebx, 0x80070000
mov ecx, str.Cannot_find_archive_file
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x1c]
push eax
push ebx
call fcn.00409f10
push dword [ebp - 0x1c]
call fcn.00449b03
add esp, 0xc
push dword [ebp - 0x48]
jmp 0x40bf8f
xor esi, esi
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0x194], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], ebx
test edi, edi
je 0x40afb0
push edi
call fcn.00449b46
mov esi, eax
add esp, 4
mov dword [ebp - 0xf4], esi
mov byte [ebp - 4], 3
test edi, edi
je 0x40afc4
push edi
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x180
call fcn.00449b08
mov edi, eax
add esp, 4
mov dword [ebp - 0x1a0], edi
push 0x180
push 0
push edi
mov byte [ebp - 4], 4
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, edi
call fcn.004048c0
mov ebx, eax
mov dword [ebp - 0x15c], ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0xf8], ebx
test ebx, ebx
je 0x40b01a
mov ecx, dword [ebx]
push ebx
mov edi, dword [ecx + 4]
mov ecx, edi
call dword [0x4502ac]
call edi
mov eax, dword [ebp - 0x150]
cmp dword [ebp - 0x16c], 1
mov byte [ebp - 4], 6
seta dl
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x16c]
mov byte [ebx + 0x40], dl
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x130], edi
mov byte [ebx + 0x35], 0
mov dword [ebx + 0x160], 0
mov dword [ebx + 0x164], 0
mov dword [ebx + 0x158], 0
mov dword [ebx + 0x15c], 0
mov dword [ebx + 0x150], 0
mov dword [ebx + 0x154], 0
mov dword [ebx + 0x148], 0
mov dword [ebx + 0x14c], 0
mov dword [ebx + 0x140], 0
mov dword [ebx + 0x144], 0
cmp eax, 1
jbe 0x40b0f1
mov ecx, dword [ebp - 0x174]
push dword [ebp - 0x160]
push dword [ebp - 0x164]
mov eax, dword [ecx]
push ecx
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x4502ac]
call edi
mov ebx, eax
test ebx, ebx
jne 0x40bee3
mov ebx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x16c]
xor cl, cl
mov dword [ebp - 0x28], 0
xor edi, edi
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x149], cl
mov dword [ebp - 0x168], edi
test eax, eax
je 0x40be84
jmp 0x40b120
cmp byte [esi + edi], 0
jne 0x40bc4a
mov eax, dword [ebx + 0x134]
test eax, eax
je 0x40b147
push eax
call fcn.00449b03
add esp, 4
mov dword [ebx + 0x134], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebx + 0x138], 0
push 8
mov eax, dword [eax]
mov ebx, dword [eax + edi*4]
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov word [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0
add esp, 4
mov dword [ebp - 0x40], 3
mov word [eax], cx
mov eax, dword [ebp - 0x150]
mov byte [ebp - 4], 7
cmp byte [eax + 0x3c], cl
je 0x40b1fe
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x4c], cx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x50], ecx
jmp 0x40b220
push 1
push dword [ebx]
lea ecx, [ebp - 0x70]
call fcn.00423940
test al, al
je 0x40be36
mov eax, dword [ebp - 0x50]
shr eax, 4
test al, 1
jne 0x40be36
mov eax, dword [ebp - 0x17c]
mov eax, dword [eax]
mov edi, dword [eax]
mov ecx, edi
mov eax, dword [ebp - 0x150]
mov al, byte [eax + 0x3f]
push eax
push dword [ebx]
call dword [0x4502ac]
mov ecx, dword [ebp - 0x17c]
call edi
mov ebx, eax
test ebx, ebx
jne 0x40be6e
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 9
push 8
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov word [ebp - 0xc0], ax
mov dword [ebp - 0xbc], eax
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], ebx
add esp, 4
mov dword [ebp - 0xb4], 3
mov word [eax], cx
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xa
call fcn.00409d40
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x190]
mov byte [ebp - 4], 0xc
mov edi, dword [eax + 4]
mov dword [ebp - 0x180], edi
test edi, edi
je 0x40b30e
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
mov dword [ebp - 0x1c], eax
add esp, 4
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x14], edi
xor ebx, ebx
test edi, edi
je 0x40b350
mov eax, dword [eax]
push 0x20
mov esi, dword [eax + ebx*4]
call fcn.00449b08
mov edi, eax
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x18]
inc ebx
add esp, 4
lea ecx, [edx + 1]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0x190]
cmp ebx, dword [ebp - 0x180]
jb 0x40b314
mov esi, dword [ebp - 0xf4]
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0xd
call fcn.00409c80
mov eax, dword [ebp - 0x184]
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x118], 0
mov al, byte [eax + 0x3c]
mov byte [ebp - 0x108], al
mov eax, dword [ebp - 0x154]
cmp eax, ecx
je 0x40b417
mov edi, dword [eax + 4]
cmp edi, dword [ebp - 0xfc]
jbe 0x40b3f2
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
add esp, 4
mov ebx, eax
push dword [ebp - 0x104]
call fcn.00449b03
add esp, 4
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0xfc], edi
jmp 0x40b3f8
mov ebx, dword [ebp - 0x104]
lea eax, [edi*2 + 2]
mov dword [ebp - 0x100], edi
push eax
mov eax, dword [ebp - 0x154]
push dword [eax]
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edi, dword [ebp - 0x1a4]
lea eax, [ebp - 0x148]
push edi
push eax
lea ecx, [ebp - 0xe0]
call fcn.0040ff80
mov ebx, eax
test edi, edi
je 0x40b455
mov ecx, dword [edi]
mov edi, dword [ecx + 0xc]
mov ecx, edi
call dword [0x4502ac]
mov ecx, dword [ebp - 0x1a4]
call edi
mov dword [ebp - 0x158], eax
test eax, eax
jne 0x40b47b
mov eax, ebx
mov dword [ebp - 0x158], ebx
test eax, eax
jne 0x40b47b
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0xa4], ebx
jl 0x40b486
mov dword [ebp - 0x158], 1
jmp 0x40b486
cmp eax, 0x80004004
je 0x40bc71
mov ebx, dword [ebp - 0x17c]
push dword [ebp - 0x158]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
mov eax, dword [ebp - 0x154]
push dword [eax]
lea eax, [ebp - 0xe0]
push eax
push dword [ebp - 0x184]
call dword [0x4502ac]
mov ecx, ebx
call edi
mov ebx, eax
test ebx, ebx
jne 0x40bc76
cmp dword [ebp - 0x158], eax
je 0x40b5cf
mov eax, dword [ebp - 0x150]
mov byte [ebp - 0x149], 1
cmp byte [eax + 0x3c], bl
jne 0x40b4ec
mov eax, dword [ebp - 0x70]
add dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x6c]
adc dword [ebp - 0x24], eax
push dword [ebp - 0x104]
call fcn.00449b03
mov edi, dword [ebp - 0x18]
add esp, 4
test edi, edi
je 0x40b516
mov eax, dword [ebp - 0x1c]
dec edi
push 0x20
push dword [eax + edi*4]
call fcn.00449b38
add esp, 8
test edi, edi
jne 0x40b501
push dword [ebp - 0x1c]
call fcn.00449b03
add esp, 4
lea ecx, [ebp - 0xe0]
call fcn.0040f540
push dword [ebp - 0x8c]
call fcn.00449b03
add esp, 4
push dword [ebp - 0x98]
call fcn.00449b03
add esp, 4
push dword [ebp - 0xbc]
call fcn.00449b03
mov edi, dword [ebp - 0xd0]
add esp, 4
test edi, edi
je 0x40b587
mov eax, dword [ebp - 0xd4]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x40b583
push dword [ebx]
call fcn.00449b03
add esp, 4
push 0xc
push ebx
call fcn.00449b38
add esp, 8
test edi, edi
jne 0x40b560
push dword [ebp - 0xd4]
call fcn.00449b03
mov edi, dword [ebp - 0xdc]
add esp, 4
test edi, edi
je 0x40bc27
mov eax, dword [ebp - 0xe0]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x40b5c6
mov ecx, ebx
call fcn.0040c0d0
push 0xe0
push ebx
call fcn.00449b38
add esp, 8
test edi, edi
jne 0x40b5a3
jmp 0x40bc27
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x40b8c5
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x40b8c5
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
shr eax, 0xd
test al, 1
je 0x40b8c5
mov eax, dword [ebp - 0x150]
cmp byte [eax + 0x3f], 0
jne 0x40b75f
mov ebx, dword [ebp - 0x17c]
push 0x80004001
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
mov eax, dword [ebp - 0x154]
push dword [eax]
lea eax, [ebp - 0xe0]
push eax
push dword [ebp - 0x184]
call dword [0x4502ac]
mov ecx, ebx
call edi
mov ebx, eax
test ebx, ebx
jne 0x40bc76
mov eax, dword [ebp - 0x150]
mov byte [ebp - 0x149], 1
cmp byte [eax + 0x3c], bl
jne 0x40b674
mov eax, dword [ebp - 0x70]
add dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x6c]
adc dword [ebp - 0x24], eax
push dword [ebp - 0x104]
call fcn.00449b03
mov edi, dword [ebp - 0x18]
add esp, 4
test edi, edi
je 0x40b6a5
lea esp, [esp]
mov eax, dword [ebp - 0x1c]
dec edi
push 0x20
push dword [eax + edi*4]
call fcn.00449b38
add esp, 8
test edi, edi
jne 0x40b690
push dword [ebp - 0x1c]
call fcn.00449b03
add esp, 4
lea ecx, [ebp - 0xe0]
call fcn.0040f540
push dword [ebp - 0x8c]
call fcn.00449b03
add esp, 4
push dword [ebp - 0x98]
call fcn.00449b03
add esp, 4
push dword [ebp - 0xbc]
call fcn.00449b03
mov edi, dword [ebp - 0xd0]
add esp, 4
test edi, edi
je 0x40b717
nop
mov eax, dword [ebp - 0xd4]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x40b713
push dword [ebx]
call fcn.00449b03
add esp, 4
push 0xc
push ebx
call fcn.00449b38
add esp, 8
test edi, edi
jne 0x40b6f0
push dword [ebp - 0xd4]
call fcn.00449b03
mov edi, dword [ebp - 0xdc]
add esp, 4
test edi, edi
je 0x40bc27
mov eax, dword [ebp - 0xe0]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x40b756
mov ecx, ebx
call fcn.0040c0d0
push 0xe0
push ebx
call fcn.00449b38
add esp, 8
test edi, edi
jne 0x40b733
jmp 0x40bc27
mov ebx, dword [eax + 0x34]
xor ecx, ecx
mov edx, 2
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
mov edi, eax
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x150]
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], ebx
mov ecx, dword [eax + 0x34]
lea ecx, [ecx*2 + 2]
push ecx
push dword [eax + 0x30]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [ebp - 4], 0xf
test ebx, ebx
jne 0x40b80f
mov eax, dword [ebp - 0x154]
push 8
mov edi, dword [eax]
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0xec], eax
add esp, 4
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], 3
mov word [eax], cx
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0x10
push eax
lea edx, [ebp - 0x34]
mov ecx, edi
call fcn.00422b00
add esp, 4
mov byte [ebp - 4], 0xf
push dword [ebp - 0xec]
call fcn.00449b03
mov ebx, dword [ebp - 0x30]
add esp, 4
mov edi, dword [ebp - 0x34]
test ebx, ebx
je 0x40b844
movzx eax, word [edi + ebx*2 - 2]
cmp eax, 0x5c
je 0x40b844
cmp eax, 0x2f
je 0x40b844
cmp dword [ebp - 0x2c], ebx
jne 0x40b831
lea ecx, [ebp - 0x34]
call fcn.00421600
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov eax, 0x5c
mov word [edi + ebx*2], ax
inc ebx
xor eax, eax
mov dword [ebp - 0x30], ebx
mov word [edi + ebx*2], ax
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x34]
add ecx, 0x168
cmp eax, ecx
je 0x40b8b8
cmp ebx, dword [ecx + 8]
jbe 0x40b8a2
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x15c]
push dword [eax + 0x168]
call fcn.00449b03
mov ecx, dword [ebp - 0x15c]
add esp, 4
add ecx, 0x168
mov dword [ecx], edi
mov edi, dword [ebp - 0x34]
mov dword [ecx + 8], ebx
lea eax, [ebx*2 + 2]
mov dword [ecx + 4], ebx
push eax
push edi
push dword [ecx]
call sub.msvcrt.dll_memcpy
add esp, 0xc
push edi
mov byte [ebp - 4], 0xe
call fcn.00449b03
add esp, 4
mov eax, dword [ebp - 0x150]
cmp byte [eax + 0x3c], 0
jne 0x40b9f7
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x40b9f7
mov edx, dword [ebp - 0xc8]
xor ecx, ecx
mov ebx, dword [ebp - 0xc4]
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x180], ecx
test eax, eax
je 0x40b999
jmp 0x40b910
mov eax, dword [ebp - 0xd4]
mov ebx, dword [ebp - 0x1a8]
mov ecx, dword [eax + ecx*4]
xor eax, eax
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x19c], eax
test ebx, ebx
je 0x40b97a
mov ecx, dword [ecx]
lea edi, [eax + ebx]
mov eax, dword [ebp - 0x1a8]
shr edi, 1
mov eax, dword [eax]
mov eax, dword [eax + edi*4]
mov edx, dword [eax]
call fcn.00422cf0
test eax, eax
je 0x40ba3f
jns 0x40b961
mov eax, dword [ebp - 0x19c]
mov ebx, edi
jmp 0x40b96a
lea eax, [edi + 1]
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x1a0]
cmp eax, ebx
jne 0x40b934
mov edx, dword [ebp - 0x154]
mov ebx, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x180]
inc ecx
mov dword [ebp - 0x180], ecx
cmp ecx, dword [ebp - 0xd0]
jb 0x40b910
mov eax, edx
or eax, ebx
je 0x40b9f7
add edx, dword [ebp - 0x164]
mov ecx, edx
adc ebx, dword [ebp - 0x160]
mov edx, ebx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x160], edx
test edx, edx
jg 0x40b9d5
jl 0x40b9c5
test ecx, ecx
jae 0x40b9d5
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x160], edx
mov ebx, dword [ebp - 0x174]
push edx
push ecx
push ebx
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x4502ac]
call edi
mov ebx, eax
test ebx, ebx
jne 0x40bc76
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xdc]
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [ebp - 0x150]
cmp byte [eax + 0x3c], 0
jne 0x40ba76
cmp byte [ebp - 0x4b], 0
jne 0x40ba76
mov al, 1
mov byte [edx + 0x4f], al
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov dword [edx + 0x44], eax
mov eax, 0x17
mov word [edx + 0x4c], ax
mov eax, dword [ebp - 0x150]
mov dword [edx + 0x48], ecx
mov byte [edx + 0x4e], 0
jmp 0x40ba7b
mov edx, dword [ebp - 0x154]
mov ebx, dword [ebp - 0x158]
cmp edi, dword [ebp - 0x168]
jbe 0x40b980
mov eax, dword [ebp - 0x7c]
mov byte [edi + esi], 1
sub edx, dword [eax + edi*8]
mov dword [ebp - 0x154], edx
sbb ebx, dword [eax + edi*8 + 4]
mov dword [ebp - 0x158], ebx
jmp 0x40b980
xor cl, cl
mov byte [edx + 0x4f], cl
mov edi, dword [ebp - 0x15c]
lea ecx, [ebp - 0x198]
push ecx
push dword [ebp - 0x178]
lea edx, [ebp - 0xe0]
push edi
push dword [ebp - 0x174]
push dword [ebp - 0x17c]
push ecx
mov ecx, dword [ebp - 0xc8]
add ecx, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc4]
push dword [ebp - 0x170]
adc eax, dword [ebp - 0x6c]
push eax
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.0040a060
mov ebx, eax
add esp, 0x28
test ebx, ebx
jne 0x40bc76
mov eax, dword [ebp - 0x150]
cmp byte [eax + 0x3c], bl
jne 0x40bb00
mov ecx, dword [ebp - 0xc8]
add ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0xc4]
adc edx, dword [ebp - 0x6c]
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x194], edx
jmp 0x40bb0c
mov edx, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x198]
add dword [ebp - 0x28], ecx
adc dword [ebp - 0x24], edx
mov eax, dword [edi + 0x13c]
add dword [eax + 0x20], ecx
adc dword [eax + 0x24], edx
mov eax, dword [edi + 0x13c]
mov ecx, dword [edi + 0x158]
mov edx, dword [edi + 0x15c]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x178]
cmp dword [eax + 4], 0
jne 0x40bc6a
push dword [ebp - 0x104]
call fcn.00449b03
mov edi, dword [ebp - 0x18]
add esp, 4
test edi, edi
je 0x40bb75
jmp 0x40bb60
mov eax, dword [ebp - 0x1c]
dec edi
push 0x20
push dword [eax + edi*4]
call fcn.00449b38
add esp, 8
test edi, edi
jne 0x40bb60
push dword [ebp - 0x1c]
call fcn.00449b03
add esp, 4
lea ecx, [ebp - 0xe0]
call fcn.0040f540
push dword [ebp - 0x8c]
call fcn.00449b03
add esp, 4
push dword [ebp - 0x98]
call fcn.00449b03
add esp, 4
push dword [ebp - 0xbc]
call fcn.00449b03
mov edi, dword [ebp - 0xd0]
add esp, 4
test edi, edi
je 0x40bbe7
nop
mov eax, dword [ebp - 0xd4]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x40bbe3
push dword [ebx]
call fcn.00449b03
add esp, 4
push 0xc
push ebx
call fcn.00449b38
add esp, 8
test edi, edi
jne 0x40bbc0
push dword [ebp - 0xd4]
call fcn.00449b03
mov edi, dword [ebp - 0xdc]
add esp, 4
test edi, edi
je 0x40bc27
nop
mov eax, dword [ebp - 0xe0]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x40bc23
mov ecx, ebx
call fcn.0040c0d0
push 0xe0
push ebx
call fcn.00449b38
add esp, 8
test edi, edi
jne 0x40bc00
push dword [ebp - 0xe0]
call fcn.00449b03
add esp, 4
mov byte [ebp - 4], 6
push dword [ebp - 0x48]
call fcn.00449b03
mov edi, dword [ebp - 0x168]
add esp, 4
mov ebx, dword [ebp - 0x16c]
inc edi
mov dword [ebp - 0x168], edi
cmp edi, ebx
jae 0x40be8c
mov ebx, dword [ebp - 0x15c]
jmp 0x40b120
mov ebx, 0x80004005
jmp 0x40bc76
mov ebx, 0x80004004
push dword [ebp - 0x104]
call fcn.00449b03
mov edi, dword [ebp - 0x18]
add esp, 4
test edi, edi
je 0x40bca5
jmp 0x40bc90
mov eax, dword [ebp - 0x1c]
dec edi
push 0x20
push dword [eax + edi*4]
call fcn.00449b38
add esp, 8
test edi, edi
jne 0x40bc90
push dword [ebp - 0x1c]
call fcn.00449b03
mov eax, dword [ebp - 0x98]
xor ecx, ecx
mov dword [ebp - 0xb0], 0
add esp, 4
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x94], 0
mov word [eax], cx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x88], ecx
mov word [eax], cx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb8], ecx
mov word [eax], cx
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x40bd54
nop
mov eax, dword [ebp - 0xe0]
mov edi, dword [eax + ecx*4 - 4]
test edi, edi
je 0x40bd49
mov ecx, edi
call fcn.0040c0d0
push 0xe0
push edi
call fcn.00449b38
mov ecx, dword [ebp - 0xdc]
add esp, 8
sub ecx, 1
mov dword [ebp - 0xdc], ecx
jne 0x40bd20
push dword [ebp - 0x8c]
call fcn.00449b03
add esp, 4
push dword [ebp - 0x98]
call fcn.00449b03
add esp, 4
push dword [ebp - 0xbc]
call fcn.00449b03
mov edi, dword [ebp - 0xd0]
add esp, 4
test edi, edi
je 0x40bdc2
jmp 0x40bd90
mov eax, dword [ebp - 0xd4]
dec edi
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x170], eax
test eax, eax
je 0x40bdbe
push dword [eax]
call fcn.00449b03
add esp, 4
push 0xc
push dword [ebp - 0x170]
call fcn.00449b38
add esp, 8
test edi, edi
jne 0x40bd90
push dword [ebp - 0xd4]
call fcn.00449b03
mov edi, dword [ebp - 0xdc]
add esp, 4
test edi, edi
je 0x40be12
lea ebx, [ebx]
mov eax, dword [ebp - 0xe0]
dec edi
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x170], eax
test eax, eax
je 0x40be0e
mov ecx, eax
call fcn.0040c0d0
push 0xe0
push dword [ebp - 0x170]
call fcn.00449b38
add esp, 8
test edi, edi
jne 0x40bde0
push dword [ebp - 0xe0]
call fcn.00449b03
add esp, 4
push dword [ebp - 0x48]
call fcn.00449b03
mov edx, dword [ebp - 0x15c]
add esp, 4
jmp 0x40bf7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x40be49
mov ebx, 0x80004005
jmp 0x40be54
jle 0x40be54
movzx ebx, bx
or ebx, 0x80070000
push dword [ebp - 0x178]
mov edx, dword [ebp - 0x154]
mov ecx, str.Cannot_find_archive_file
push ebx
call fcn.00409f10
add esp, 8
push dword [ebp - 0x48]
call fcn.00449b03
mov edx, dword [ebp - 0x15c]
add esp, 4
jmp 0x40bf7a
mov ebx, dword [ebp - 0x16c]
jmp 0x40be92
mov cl, byte [ebp - 0x149]
cmp ebx, 1
ja 0x40be9b
test cl, cl
je 0x40beee
mov ecx, dword [ebp - 0x174]
push dword [ebp - 0x160]
push dword [ebp - 0x164]
mov eax, dword [ecx]
push ecx
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x4502ac]
call edi
mov ebx, eax
test ebx, ebx
jne 0x40bee3
mov ecx, dword [ebp - 0x174]
mov eax, dword [ecx]
mov edi, dword [eax + 0x10]
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, edi
call dword [0x4502ac]
call edi
mov ebx, eax
test ebx, ebx
je 0x40beee
mov edx, dword [ebp - 0x15c]
jmp 0x40bf7a
mov edi, dword [ebp - 0x1b0]
xor ebx, ebx
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx + 0x140]
mov ecx, dword [edx + 0x144]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
mov eax, dword [edx + 0x148]
mov ecx, dword [edx + 0x14c]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ecx
mov eax, dword [edx + 0x150]
mov ecx, dword [edx + 0x154]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
mov eax, dword [edx + 0x158]
mov ecx, dword [edx + 0x15c]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov eax, dword [edx + 0x160]
mov ecx, dword [edx + 0x164]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x18c]
mov dword [edi + 0x14], ecx
mov eax, dword [eax + 4]
mov dword [edi], eax
mov dword [edi + 4], 0
mov eax, dword [edx + 0x13c]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov byte [ebp - 4], 0x11
mov eax, dword [edx]
push edx
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x4502ac]
call edi
push esi
call fcn.00449b03
add esp, 4
push dword [ebp - 0x7c]
call fcn.00449b03
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00449a40
mov esp, ebp
pop ebp
ret