Function at 0x434480
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 0x43449c
mov byte [ebp - 2], 0x20
mov byte [ebp - 1], 0x23
mov dword [0x5af904], 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.00432990
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [0x5af900]
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.00513e0e
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x434509
push 0x58d588
call fcn.00511adb
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.0051523b
add esp, 8
push 1
call fcn.005150f3
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.00434400
add esp, 0x10
mov dword [ebp - 0x10], 0
jmp 0x434533
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 0x434651
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 [0x5af900]
shl ecx, 1
push ecx
movsx edx, byte [ebp - 1]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00511290
add esp, 0xc
mov ecx, dword [0x5af900]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*2]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x434596
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 0x4345f7
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
and edx, 1
je 0x4345d3
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 0x4345f5
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 0x43458d
mov eax, dword [0x5af900]
shl eax, 1
push eax
movsx ecx, byte [ebp - 1]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00511290
add esp, 0xc
mov eax, dword [0x5af900]
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.005154ad
add esp, 8
jmp 0x43452a
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.00434400
add esp, 0x10
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00514ae0
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.00511256
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret