Function at 0x408ad0
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
cmp byte [esi], 0
push edi
mov dword [esp + 0x18], 0
jne 0x408b4a
mov eax, dword [esi + 8]
push eax
lea ecx, [esp + 0x18]
call fcn.00404b90
mov ecx, esi
call fcn.00408470
test al, al
jne 0x408b41
lea ecx, [esp + 0x24]
call fcn.00404b30
lea ecx, [esp + 0x14]
call fcn.00406280
push eax
lea ecx, [esp + 0x28]
push str.There_is_something_wrong_with__s.__It_may_be_an_empty_or_damaged_archive.
push ecx
call fcn.004054f0
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.00406280
push eax
push str.FATAL_ERROR_IN_ZIP
call fcn.00406f10
add esp, 8
push 0xffffffffffffffff
call fcn.0041d3e8
lea ecx, [esp + 0x14]
call fcn.00404dc0
mov ebp, dword [esp + 0x20]
push ebp
lea ecx, [esp + 0x14]
call fcn.00404b90
push 0
lea ecx, [esp + 0x14]
call fcn.00406590
push eax
call fcn.00407a70
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00406690
lea ecx, [esp + 0x10]
call fcn.00406280
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406290
mov edx, dword [esi + 0xc]
push edx
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00404b90
lea ecx, [esp + 0x20]
call fcn.00406290
cmp edi, eax
jb 0x408be9
jne 0x408baa
nop
push eax
lea ecx, [esp + 0x24]
call fcn.00406280
push eax
push ebx
call fcn.0041ec90
add esp, 0xc
test eax, eax
jne 0x408be9
lea ecx, [esp + 0x20]
call fcn.00404dc0
mov eax, dword [esi + 0x18]
xor ebx, ebx
cmp eax, ebx
jne 0x408bf7
lea ecx, [esp + 0x10]
call fcn.00404dc0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 8
lea ecx, [esp + 0x20]
call fcn.00404dc0
jmp 0x408dc5
cmp ebp, ebx
je 0x408cf2
cmp byte [ebp], 0
je 0x408cf2
push ebx
push ebp
mov ecx, esi
call fcn.004089d0
mov edi, eax
cmp edi, ebx
je 0x408dc5
mov eax, dword [esp + 0x24]
test ah, ah
jns 0x408c40
mov cl, byte [edi + 0x2f]
test cl, cl
jne 0x408c40
lea ecx, [esp + 0x10]
call fcn.00404dc0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 8
test al, 1
je 0x408d57
cmp dword [esi + 0x28], ebx
je 0x408cf2
cmp dword [esi + 0x1c], ebx
jne 0x408cf2
cmp byte [esi], 0
jne 0x408cc3
mov eax, dword [esi + 8]
push eax
lea ecx, [esp + 0x18]
call fcn.00404b90
mov ecx, esi
call fcn.00408470
test al, al
jne 0x408cba
lea ecx, [esp + 0x20]
call fcn.00404b30
lea ecx, [esp + 0x14]
call fcn.00406280
push eax
lea ecx, [esp + 0x24]
push str.There_is_something_wrong_with__s.__It_may_be_an_empty_or_damaged_archive.
push ecx
call fcn.004054f0
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.00406280
push eax
push str.FATAL_ERROR_IN_ZIP
call fcn.00406f10
add esp, 8
push 0xffffffffffffffff
call fcn.0041d3e8
lea ecx, [esp + 0x14]
call fcn.00404dc0
mov ecx, dword [esi + 4]
cmp dword [ecx + 4], ebx
je 0x408cd6
mov edx, dword [ecx + 0x10]
and edx, 2
cmp dl, 2
je 0x408d07
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 8]
or ecx, 6
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.004039f0
test al, al
jne 0x408d07
lea ecx, [esp + 0x10]
call fcn.00404dc0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 8
mov edx, dword [esi + 0x10]
mov ecx, edi
sub ecx, edx
mov eax, 0xaaaaaaab
mul ecx
mov eax, dword [esi + 0x18]
shr edx, 5
dec eax
cmp edx, eax
je 0x408d2a
push edi
mov ecx, esi
call fcn.004082c0
mov edi, eax
lea ecx, [edi + 0xc]
push ecx
lea edx, [edi + 0xe]
push edx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
call fcn.00407890
add esp, 8
push edi
mov ecx, esi
mov dword [edi + 0x10], ebx
mov word [edi + 0xa], bx
mov word [edi + 0x1e], bx
call fcn.00408de0
mov byte [esi + 1], 1
push 0x24
call fcn.00407400
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x408d80
mov ecx, ebp
call fcn.00404060
mov dword [ebp], 0x428328
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
jmp 0x408d82
xor ebp, ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push eax
push esi
push ecx
xor eax, eax
mov ax, word [edi + 0x1e]
xor ecx, ecx
mov cx, word [edi + 0x1c]
push edx
mov edx, dword [edi + 0x2a]
push edi
add eax, ecx
lea eax, [eax + edx + 0x1e]
push eax
mov ecx, ebp
call fcn.004092d0
test al, al
jne 0x408dc1
cmp ebp, ebx
je 0x408dc1
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
xor ebp, ebp
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x10]
call fcn.00404dc0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8