Function at 0x412590
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x4627e0]
sub esp, 8
mov ecx, eax
inc eax
test ecx, ecx
mov dword [0x4627e0], eax
jle 0x4125ab
push 5
call fcn.0042466c
mov eax, dword [0x447674]
push edi
xor edi, edi
cmp eax, edi
je 0x4125d1
mov edx, dword [0x4633e8]
push 0x4369f4
push edx
call fcn.00423885
add esp, 8
mov dword [0x447674], edi
mov eax, dword [0x447554]
cmp eax, edi
je 0x4125f6
cmp dword [0x447678], edi
je 0x4125f6
push 0x4369f4
push eax
call fcn.00423885
add esp, 8
mov dword [0x447678], edi
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
cmp ebp, edi
je 0x4126b4
mov esi, dword [esp + 0x1c]
mov bl, 0x10
lea esi, [esi + esi*2]
shl esi, 2
test byte [esi + 0x436bb0], bl
je 0x412639
mov eax, dword [0x462c68]
push eax
call fcn.00425b85
mov ecx, dword [0x4633e8]
push eax
push str.zip_I_O_error:__s
push ecx
call fcn.00423885
add esp, 0x10
mov edx, dword [0x4633e8]
push edx
call fcn.004233bf
mov eax, dword [esi + 0x436bac]
mov ecx, dword [0x4633e8]
push ebp
push eax
push str._nzip_error:__s___s__n
push ecx
call fcn.00423885
mov eax, dword [0x447554]
add esp, 0x14
cmp eax, edi
je 0x4126b4
test byte [esi + 0x436bb0], bl
je 0x412692
mov edx, dword [0x462c68]
push edx
call fcn.00425b85
push eax
mov eax, dword [0x447554]
push str.zip_I_O_error:__s_n
push eax
call fcn.00423885
add esp, 0x10
mov ecx, dword [esi + 0x436bac]
mov edx, dword [0x447554]
push ebp
push ecx
push str._nzip_error:__s___s__n
push edx
call fcn.00423885
add esp, 0x10
mov dword [0x447678], edi
mov ecx, dword [0x4475c8]
cmp ecx, edi
je 0x412825
mov eax, dword [0x463404]
cmp ecx, eax
je 0x412719
mov ecx, dword [0x447634]
cmp ecx, edi
je 0x4126e4
push ecx
call fcn.004245b6
mov ecx, dword [0x447634]
add esp, 4
mov eax, dword [0x4475cc]
cmp eax, ecx
je 0x4126fa
cmp eax, edi
je 0x4126fa
push eax
call fcn.004245b6
add esp, 4
mov eax, dword [0x4475c8]
push eax
call fcn.00407e50
mov ecx, dword [0x4475c8]
push ecx
call fcn.00423252
add esp, 8
jmp 0x412825
mov edx, dword [0x4633dc]
mov ebp, dword [0x4633d8]
push eax
mov eax, dword [0x4633e8]
push str.attempting_to_restore__s_to_its_previous_state_n
push eax
xor ebx, ebx
mov dword [esp + 0x20], edx
call fcn.00423885
mov eax, dword [0x447554]
add esp, 0xc
test eax, eax
je 0x41275d
mov ecx, dword [0x463404]
push ecx
push str.attempting_to_restore__s_to_its_previous_state_n
push eax
call fcn.00423885
add esp, 0xc
mov edx, dword [0x4633dc]
mov eax, dword [0x4633d8]
mov ecx, dword [0x4475cc]
push 0
push edx
push eax
push ecx
call fcn.00410160
mov esi, dword [0x447688]
mov ecx, dword [0x4633d8]
mov eax, dword [0x4633dc]
add esp, 0x10
test esi, esi
mov dword [0x4633f0], ecx
mov dword [0x4633f4], eax
je 0x4127e7
push esi
call fcn.0041f570
xor edx, edx
xor eax, eax
mov dx, word [esi + 0x26]
mov ax, word [esi + 0x24]
xor ecx, ecx
add edx, eax
mov cx, word [esi + 0x20]
add esp, 4
lea eax, [edx + ecx + 0x2e]
mov ecx, dword [0x4633f0]
cdq
add ecx, eax
mov eax, dword [0x4633f4]
adc eax, edx
mov dword [0x4633f0], ecx
mov dword [0x4633f4], eax
mov esi, dword [esi + 0x84]
add edi, 1
adc ebx, 0
test esi, esi
jne 0x41279b
mov edx, dword [0x447690]
push edx
xor edx, edx
mov dx, word [0x463400]
sub ecx, ebp
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebp
sbb eax, edx
push eax
push ecx
push ebx
push edi
call fcn.0041ffd0
mov eax, dword [0x4475cc]
push eax
call fcn.004245b6
add esp, 0x24
mov dword [0x4475cc], 0
xor edi, edi
mov eax, dword [0x44759c]
pop esi
pop ebp
cmp eax, edi
pop ebx
je 0x412840
push eax
call fcn.00423252
add esp, 4
mov dword [0x44759c], edi
mov eax, dword [0x4475a0]
cmp eax, edi
je 0x412858
push eax
call fcn.00423252
add esp, 4
mov dword [0x4475a0], edi
mov eax, dword [0x463404]
cmp eax, edi
je 0x412870
push eax
call fcn.00423252
add esp, 4
mov dword [0x463404], edi
mov eax, dword [0x4475dc]
cmp eax, edi
je 0x412888
push eax
call fcn.00423252
add esp, 4
mov dword [0x4475dc], edi
mov eax, dword [0x447690]
cmp eax, edi
je 0x4128a0
push eax
call fcn.00423252
add esp, 4
mov dword [0x447690], edi
call fcn.004128b0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0042466c
pop edi