Function at 0x5d06ad
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 8], 0x69bc14
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0
call fcn.005d053a
add esp, 8
mov dword [ebp - 0x40], eax
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
push edx
call fcn.005d053a
add esp, 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x5d06b4
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005d02ea
add esp, 4
mov byte [ebp - 1], al
movzx edx, byte [ebp - 1]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
cmp edx, ecx
je 0x5d066e
movzx edx, byte [ebp - 1]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 1]
cmp edx, ecx
je 0x5d066e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x30]
push edx
call fcn.005d048a
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax + edx]
je 0x5d06b4
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax + edx]
je 0x5d06b4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 0
push 4
push 0x1000
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0
jmp 0x5d0719
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x38]
cmp dword [ebp - 0xc], edx
jae 0x5d073d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + edx]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0xc]
mov dword [ecx], eax
jmp 0x5d070d
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.005d036a
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x5d0760
jmp 0x5d081c
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x38]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
add ecx, dword [ebp - 0x40]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 8
jmp 0x5d07ac
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
cmp dword [ebp - 0xc], ecx
jae 0x5d07cc
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0xc]
mov eax, dword [edx]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
mov dword [ecx], eax
jmp 0x5d07a0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x28]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add edx, dword [eax + 0xc]
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x28]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [ebp - 0x44]
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]