Function at 0x443350
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 0x44336c
mov byte [ebp - 2], 0x20
mov byte [ebp - 1], 0x23
mov dword [0x5a8940], 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.00441860
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [0x5a8938]
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.00510802
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4433d9
push 0x5887ec
call fcn.0050eb24
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00511a6b
add esp, 8
push 1
call fcn.0051192a
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.004432d0
add esp, 0x10
mov dword [ebp - 0x10], 0
jmp 0x443403
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 0x443521
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 [0x5a8938]
shl ecx, 1
push ecx
movsx edx, byte [ebp - 1]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0050fef0
add esp, 0xc
mov ecx, dword [0x5a8938]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*2]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x443466
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 0x4434c7
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
and edx, 1
je 0x4434a3
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 0x4434c5
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 0x44345d
mov eax, dword [0x5a8938]
shl eax, 1
push eax
movsx ecx, byte [ebp - 1]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0050fef0
add esp, 0xc
mov eax, dword [0x5a8938]
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.00511cdd
add esp, 8
jmp 0x4433fa
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.004432d0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0050f81e
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.00510121
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret