Function at 0x4792be
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 8], 0x4b7e38
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0
call fcn.0047922c
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
push 0
mov eax, dword [ebp - 8]
push dword [eax + 0x30]
call fcn.0047922c
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x479378
push dword [ebp - 0x30]
call fcn.00479050
pop ecx
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx]
cmp eax, ecx
je 0x479339
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx + 1]
cmp eax, ecx
je 0x479339
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
push dword [ebp - 0x30]
call fcn.004791ac
pop ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
cmp edx, dword [ecx + eax]
je 0x479378
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
cmp edx, dword [ecx + eax]
je 0x479378
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
and dword [ebp - 0x20], 0
and dword [ebp - 0x38], 0
mov dword [ebp - 0xc], 4
and dword [ebp - 0x10], 0
and dword [ebp - 0x28], 0
push 4
push 0x1000
mov eax, dword [ebp - 8]
push dword [eax + 0x24]
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
and dword [ebp - 0x24], 0
and dword [ebp - 0xc], 0
jmp 0x4793c7
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
cmp dword [ebp - 0xc], eax
jae 0x4793eb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + ecx]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0xc]
mov dword [ecx], eax
jmp 0x4793bb
push dword [ebp - 0x20]
push dword [ebp - 0x3c]
call fcn.004790bd
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x47940b
jmp 0x4794be
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
push dword [eax + 0x1c]
mov eax, dword [ebp - 8]
push dword [eax + 0x18]
push dword [ebp - 0x10]
call dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 8
jmp 0x479454
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
cmp dword [ebp - 0xc], eax
jae 0x479474
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
mov dword [ecx], eax
jmp 0x479448
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
mov eax, dword [ebp - 8]
push dword [eax + 0x18]
push dword [ebp - 0x10]
call dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x10]
call dword [ebp - 0x44]
pop ecx
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]