Function at 0x5bc880
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
push 1
call fcn.005d28a0
add esp, 0xc
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x5bc8ba
xor eax, eax
jmp 0x5bcc28
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x258], 0xf4240
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x25c], 0xf4240
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x260], 0
push 0x40
push fcn.00601530
mov edx, dword [ebp - 0x58]
push edx
call fcn.005bebb0
add esp, 0xc
push 0
push eax
call fcn.006014b0
add esp, 8
test eax, eax
je 0x5bc90b
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x58]
push eax
call fcn.005d2670
add esp, 0x10
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.005bec10
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x5bc9a4
mov dword [ebp - 0x60], 0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x60]
movsx esi, byte [edx]
push 0
call fcn.005bb3c0
add esp, 4
mov ecx, dword [ebp - 0x60]
movsx edx, byte [eax + ecx]
cmp esi, edx
je 0x5bc97f
mov eax, dword [ebp - 0x58]
add eax, 0x70
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
or edx, 0x20000
mov eax, dword [ebp - 0x68]
mov dword [eax], edx
push 0
call fcn.005bb3c0
add esp, 4
mov ecx, dword [ebp - 0x60]
movsx edx, byte [eax + ecx]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x70], 0
jne 0x5bc948
jmp 0x5bc9bc
mov ecx, dword [ebp - 0x58]
add ecx, 0x70
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
or eax, 0x20000
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x70]
and eax, 0x20000
je 0x5bcaa1
cmp dword [ebp + 8], 0
je 0x5bca62
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movsx esi, byte [eax + edx]
push 0
call fcn.005bb3c0
add esp, 4
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [eax + edx]
cmp esi, eax
jne 0x5bca62
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + edx]
cmp ecx, 0x31
jne 0x5bca3b
mov edx, 1
shl edx, 1
mov eax, dword [ebp + 8]
movsx esi, byte [eax + edx]
push 0
call fcn.005bb3c0
add esp, 4
mov ecx, 1
shl ecx, 1
movsx edx, byte [eax + ecx]
cmp esi, edx
jne 0x5bca62
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
cmp eax, 0x30
jne 0x5bcaa1
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
cmp eax, 0x39
jge 0x5bcaa1
cmp dword [ebp + 8], 0
je 0x5bca9a
push 0
call fcn.005bb3c0
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x6fbfd0
push 0x50
lea edx, [ebp - 0x54]
push edx
call fcn.00405305
add esp, 0x14
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.005becc0
add esp, 8
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], 0
jne 0x5bcae6
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xb4], 0x2000
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0xb4]
push ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.005d2760
add esp, 8
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0xb0], eax
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0xb0], 0
jne 0x5bcae6
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x98], 0x5bb4b0
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x9c], fcn.005bb530
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xa0], edx
cmp dword [ebp - 0x5c], 0
jne 0x5bcbb0
push 0x38
push 0x6fc00c
mov ecx, dword [ebp - 0x58]
add ecx, 0x78
push ecx
call fcn.005d4d90
add esp, 0xc
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
add edx, 6
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 6
ja case.0x5bcb41.1
mov eax, dword [ebp - 0x64]
jmp dword [eax*4 + 0x5bcc38]
jmp 0x5bcbb0
push str.zlib_memory_error
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.005becc0
add esp, 8
mov dword [ebp - 0x5c], 1
jmp 0x5bcbb0
push str.zlib_stream_error
mov edx, dword [ebp - 0x58]
push edx
call fcn.005becc0
add esp, 8
mov dword [ebp - 0x5c], 1
jmp 0x5bcbb0
push str.zlib_version_error
mov eax, dword [ebp - 0x58]
push eax
call fcn.005becc0
add esp, 8
mov dword [ebp - 0x5c], 1
jmp 0x5bcbb0
push str.Unknown_zlib_error
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.005becc0
add esp, 8
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], 0
je 0x5bcbf1
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0xb0]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.005d27b0
add esp, 8
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xb0], 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.005d2990
add esp, 0xc
xor eax, eax
jmp 0x5bcc28
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
mov edx, dword [eax + 0xb0]
mov dword [ecx + 0x84], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
mov edx, dword [eax + 0xb4]
mov dword [ecx + 0x88], edx
push 0
push 0
mov eax, dword [ebp - 0x58]
push eax
call fcn.005c8550
add esp, 0xc
mov eax, dword [ebp - 0x58]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00517c1a
mov esp, ebp
pop ebp
ret