Function at 0x433790
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 0x4337ac
mov byte [ebp - 2], 0x20
mov byte [ebp - 1], 0x23
mov dword [0x5ad904], 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.00431ca0
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [0x5ad8fc]
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.00512a5d
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x433819
push 0x58b410
call fcn.005106cc
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00513e8b
add esp, 8
push 1
call fcn.00513d43
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.00433710
add esp, 0x10
mov dword [ebp - 0x10], 0
jmp 0x433843
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 0x433961
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 [0x5ad8fc]
shl ecx, 1
push ecx
movsx edx, byte [ebp - 1]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0050ff40
add esp, 0xc
mov ecx, dword [0x5ad8fc]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*2]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x4338a6
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 0x433907
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
and edx, 1
je 0x4338e3
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 0x433905
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 0x43389d
mov eax, dword [0x5ad8fc]
shl eax, 1
push eax
movsx ecx, byte [ebp - 1]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0050ff40
add esp, 0xc
mov eax, dword [0x5ad8fc]
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.005140fd
add esp, 8
jmp 0x43383a
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.00433710
add esp, 0x10
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00513731
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.0050ff06
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret