Function at 0x5932e8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], ecx
mov ebx, edx
test esi, esi
jl 0x593314
mov edx, dword [0x84f880]
mov edi, dword [edx + ecx*4]
mov edi, dword [edi + 0x80]
jmp 0x593316
xor edi, edi
mov ecx, dword [eax*4 + 0x8504fc]
lea edx, [eax + eax*2]
shl edx, 7
mov dword [ebp - 0x10], edx
lea edx, [edx + ebx + 0x200]
mov dword [ebp - 0xc], edx
mov edx, 1
shl edx, cl
test esi, esi
mov dword [ebp - 8], edx
je 0x5934a1
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x2c], esi
lea esi, [edx + 0x80]
mov dword [ebp - 0x34], esi
mov esi, dword [ebx + 0x14]
mov edx, dword [edx + 0x80]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x2c]
cmp edx, 4
je 0x59348b
mov edx, dword [0x8362c4]
mov dword [ebp - 0x24], edx
mov edx, dword [0x836270]
cmp edx, 0x7fffffff
je 0x593398
mov edx, dword [0x84f980]
add edx, dword [ebx + 0x9c]
mov dword [ebp - 0x28], edx
jmp 0x59339d
xor edx, edx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x80]
cmp edx, 4
je 0x59348b
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [0x8362b0]
test eax, eax
je 0x5933d7
mov esi, dword [ebx + 0x19c]
test esi, esi
jne 0x593584
jmp 0x5933d9
xor esi, esi
mov eax, dword [0x84fa04]
test eax, eax
jne 0x5935e9
call fcn.005a3fd0
mov edx, dword [0x84f900]
xor eax, eax
cmp edx, dword [0x85052c]
setg al
push eax
call fcn.005a066c
pop ecx
call fcn.005a3fd0
add edi, 0xfffffffe
jne 0x593420
call fcn.005a3fd0
push 1
call fcn.005a066c
pop ecx
mov edi, dword [0x8362c8]
test esi, esi
je 0x59342e
mov eax, dword [esi + 0x88]
test eax, eax
jne 0x59346d
mov eax, dword [0x836270]
cmp eax, 0x7fffffff
je 0x59346d
mov eax, dword [ebp - 0x28]
cmp eax, dword [0x84f980]
jg 0x59346d
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
push 4
push eax
push edx
call fcn.005a161c
add esp, 0xc
mov eax, dword [0x84fa04]
test eax, eax
je 0x59346d
mov eax, dword [0x84fa00]
test eax, eax
jne 0x5935c2
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x80]
cmp edx, 4
jne 0x5933be
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x593661
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x80], 0
test edi, edi
je 0x59362a
mov edx, dword [ebx + 0x90]
shl esi, cl
lea ecx, [esi + 1]
cmp ecx, edx
jae 0x593577
mov eax, dword [edi + 0x400]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
lea edi, [ecx + ebx + 0x280]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], edi
push 4
mov dword [ebp - 4], edx
push edi
call fcn.005a4010
mov edx, dword [ebp - 4]
add esp, 8
mov ecx, dword [0x836270]
cmp ecx, 0x7fffffff
je 0x593511
test al, 1
je 0x593511
mov eax, edi
mov ecx, ebx
mov dword [ebp - 4], edx
push eax
push dword [ecx + 0x14]
call fcn.005a14e4
mov edx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 8]
add esi, 2
cmp eax, 2
jb 0x593577
mov dword [ebp - 4], edx
mov ebx, 2
mov eax, dword [ebp - 4]
cmp esi, eax
jae 0x593577
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
push 4
mov edi, dword [edi + esi*4]
lea edx, [eax + edi + 0x280]
mov dword [ebp - 0x20], edx
push edx
call fcn.005a4010
mov edx, dword [ebp - 0x20]
add esp, 8
mov ecx, dword [0x836270]
cmp ecx, 0x7fffffff
je 0x59356a
test al, 1
je 0x59356a
push edx
push dword [edi + 0x14]
call fcn.005a14e4
add esp, 8
mov eax, dword [ebp - 8]
add esi, 1
add ebx, 1
cmp ebx, eax
jbe 0x593524
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x180]
test eax, eax
jne 0x5935a2
push ebx
push dword [ebx + 0x19c]
call fcn.00598380
add esp, 8
jmp 0x5933d9
push dword [ebp + 0x18]
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x38]
push eax
push 1
push 4
push edx
push dword [ebx + 0x14]
push ebx
call fcn.005977bc
add esp, 0x1c
jmp 0x5933d9
push 0xffffffffffffffff
push 0x84fc00
call fcn.00596f48
add esp, 8
mov eax, dword [0x85059c]
test eax, eax
jne 0x5935e2
push 3
call fcn.00744edc
pop ecx
call fcn.00596ab8
jmp 0x5935da
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x20]
mov edx, dword [0x84fa00]
test edx, edx
je 0x59348b
push 0xffffffffffffffff
push 0x84fc00
call fcn.00596f48
add esp, 8
mov eax, dword [0x85059c]
test eax, eax
jne 0x593623
push 3
call fcn.00744edc
pop ecx
call fcn.00596ab8
jmp 0x59361b
mov eax, dword [0x84f880]
mov edx, dword [ebp - 4]
mov esi, dword [eax + edx*4]
mov edi, dword [esi + 0x98]
test edi, edi
je 0x593643
xor esi, esi
jmp 0x59364e
mov eax, dword [0x84f880]
mov esi, dword [eax + edx*4]
mov esi, dword [esi + 0x10]
mov eax, dword [0x84f880]
mov edi, dword [eax + edx*4]
mov edi, dword [edi + 0x80]
jmp 0x5934a9
mov eax, dword [0x84fa04]
test eax, eax
je 0x593494
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret