Function at 0x43fa60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov byte [ebp - 2], 0x23
mov byte [ebp - 1], 0x20
cmp dword [ebp + 0x10], 0
je 0x43fa7c
mov byte [ebp - 2], 0x20
mov byte [ebp - 1], 0x23
mov dword [0x5b8920], 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043df70
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [0x5b8928]
lea ecx, [edx + eax*2]
shl ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00516cfd
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43fae9
push 0x594f64
call fcn.0051ed92
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00520c4b
add esp, 8
push 1
call fcn.00520b03
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0043f9e0
add esp, 0x10
mov dword [ebp - 0x10], 0
jmp 0x43fb13
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 4]
jge 0x43fc31
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
imul ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 8]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [0x5b8928]
shl ecx, 1
push ecx
movsx edx, byte [ebp - 1]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00516d90
add esp, 0xc
mov ecx, dword [0x5b8928]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*2]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x43fb76
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx + 4]
jge 0x43fbd7
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
and edx, 1
je 0x43fbb3
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 2]
mov byte [eax], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 2]
mov byte [eax], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x43fbd5
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 1]
mov byte [eax], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 1]
mov byte [eax], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x43fb6d
mov eax, dword [0x5b8928]
shl eax, 1
push eax
movsx ecx, byte [ebp - 1]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00516d90
add esp, 0xc
mov eax, dword [0x5b8928]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov byte [eax], 0xa
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov byte [edx], 0
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00520ebd
add esp, 8
jmp 0x43fb0a
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0043f9e0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005204ed
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.005165cb
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret