Function at 0x5c5f30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x6ba0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
push 1
call fcn.005d0f80
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5c5f6a
xor eax, eax
jmp 0x5c6296
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x258], 0xf4240
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x25c], 0xf4240
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x260], 0
push 0x40
push fcn.0059751c
mov edx, dword [ebp - 0xc]
push edx
call fcn.005ca640
add esp, 0xc
push 0
push eax
call fcn.005975d0
add esp, 8
test eax, eax
je 0x5c5fbb
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 - 0xc]
push eax
call fcn.005d1290
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 - 0xc]
push ecx
call fcn.005ca720
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x5c604f
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movsx esi, byte [edx]
push 0
call fcn.005cb3e0
add esp, 4
mov ecx, dword [ebp - 4]
movsx edx, byte [eax + ecx]
cmp esi, edx
je 0x5c602f
mov eax, dword [ebp - 0xc]
add eax, 0x70
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx]
or edx, 0x20000
mov eax, dword [ebp - 0x64]
mov dword [eax], edx
push 0
call fcn.005cb3e0
add esp, 4
mov ecx, dword [ebp - 4]
movsx edx, byte [eax + ecx]
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
test edx, edx
jne 0x5c5ff8
jmp 0x5c6067
mov ecx, dword [ebp - 0xc]
add ecx, 0x70
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
or eax, 0x20000
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x70]
and eax, 0x20000
je 0x5c610f
cmp dword [ebp + 8], 0
je 0x5c60d0
mov ecx, dword [ebp + 8]
movsx esi, byte [ecx]
push 0
call fcn.005cb3e0
add esp, 4
movsx edx, byte [eax]
cmp esi, edx
jne 0x5c60d0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x31
jne 0x5c60b9
mov edx, dword [ebp + 8]
movsx esi, byte [edx + 2]
push 0
call fcn.005cb3e0
add esp, 4
movsx eax, byte [eax + 2]
cmp esi, eax
jne 0x5c60d0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x30
jne 0x5c610f
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 2]
cmp ecx, 0x39
jge 0x5c610f
cmp dword [ebp + 8], 0
je 0x5c6108
push 0
call fcn.005cb3e0
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
push 0x6bb8e8
push 0x50
lea eax, [ebp - 0x60]
push eax
call fcn.00624a9f
add esp, 0x14
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.005ca2f0
add esp, 8
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x5c6154
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xb4], 0x2000
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xb4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.005d1240
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xb0], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0xb0], 0
jne 0x5c6154
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x98], 0x5ca950
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x9c], fcn.005ca9d0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xa0], edx
cmp dword [ebp - 8], 0
jne 0x5c621e
push 0x38
push 0x6bb924
mov ecx, dword [ebp - 0xc]
add ecx, 0x78
push ecx
call fcn.0061de00
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
add edx, 6
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x6c], 6
ja case.0x5c61af.1
mov eax, dword [ebp - 0x6c]
jmp dword [eax*4 + 0x5c62a8]
jmp 0x5c621e
push str.zlib_memory_error
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005ca2f0
add esp, 8
mov dword [ebp - 8], 1
jmp 0x5c621e
push str.zlib_stream_error
mov edx, dword [ebp - 0xc]
push edx
call fcn.005ca2f0
add esp, 8
mov dword [ebp - 8], 1
jmp 0x5c621e
push str.zlib_version_error
mov eax, dword [ebp - 0xc]
push eax
call fcn.005ca2f0
add esp, 8
mov dword [ebp - 8], 1
jmp 0x5c621e
push str.Unknown_zlib_error
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005ca2f0
add esp, 8
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
je 0x5c625f
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xb0]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005d11d0
add esp, 8
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xb0], 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.005d1060
add esp, 0xc
xor eax, eax
jmp 0x5c6296
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xb0]
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xb4]
mov dword [eax + 0x88], edx
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.005ca800
add esp, 0xc
mov eax, dword [ebp - 0xc]
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058c0de
mov esp, ebp
pop ebp
ret