Function at 0x4014a0
Capabilities:
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
xor eax, eax
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0x5c]
push ebx
mov edi, edx
push ecx
mov ecx, 0x11
sub esp, 0x78
mov esi, dword [0x405394]
rep stosd dword es:[edi], eax
test esi, esi
jne 0x401430
mov eax, dword fs:[0x18]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [eax + 4]
xor ebx, ebx
jmp 0x4011bc
cmp edi, eax
je 0x4013c8
mov dword [esp], 0x3e8
call esi
sub esp, 4
mov eax, ebx
lock cmpxchg dword [0x4053e8], edi
test eax, eax
jne 0x4011a8
mov eax, dword [0x4053ec]
xor ebx, ebx
cmp eax, 1
je 0x4013db
mov eax, dword [0x4053ec]
test eax, eax
je 0x401460
mov dword [0x405008], 1
mov eax, dword [0x4053ec]
cmp eax, 1
je 0x4013f5
test ebx, ebx
je 0x40141b
mov eax, dword [entry1]
test eax, eax
je 0x40122c
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 0
call eax
sub esp, 0xc
call fcn.00401a90
mov dword [esp], 0x401d80
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
sub esp, 4
mov dword [0x4053ac], eax
mov dword [esp], section..text
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.004018e0
mov dword [0x4053e4], 0x400000
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p__acmdln
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
jne 0x401281
jmp 0x4012bd
test dl, dl
je 0x4012b8
and ecx, 1
je 0x4012a0
mov ecx, 1
add eax, 1
movzx edx, byte [eax]
cmp dl, 0x20
jle 0x401270
mov ebx, ecx
xor ebx, 1
cmp dl, 0x22
cmove ecx, ebx
jmp 0x40127e
test dl, dl
je 0x4012b8
lea esi, [esi]
movzx edx, byte [eax + 1]
add eax, 1
test dl, dl
je 0x4012b8
cmp dl, 0x20
jle 0x4012a8
mov dword [0x4053e0], eax
mov ebx, dword [0x405394]
test ebx, ebx
je 0x4012db
mov eax, 0xa
test byte [ebp - 0x30], 1
jne 0x4013b8
mov dword [section..data], eax
mov ebx, dword [0x40501c]
lea esi, [ebx*4 + 4]
mov dword [esp], esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edx, dword [0x405018]
mov dword [ebp - 0x70], eax
test ebx, ebx
jle 0x401483
mov ebx, eax
lea eax, [esi - 4]
mov edi, edx
mov dword [ebp - 0x74], eax
add eax, edx
mov dword [ebp - 0x6c], eax
mov eax, dword [edi]
add ebx, 4
add edi, 4
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea esi, [eax + 1]
mov dword [esp], esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [ebx - 4], eax
mov ecx, dword [edi - 4]
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp dword [ebp - 0x6c], edi
jne 0x401310
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x70]
mov dword [eax], 0
mov eax, dword [ebp - 0x70]
mov dword [0x405018], eax
call fcn.004015d0
mov eax, dword [0x405014]
mov edx, dword [0x403068]
mov dword [edx], eax
mov dword [esp + 8], eax
mov eax, dword [0x405018]
mov dword [esp + 4], eax
mov eax, dword [0x40501c]
mov dword [esp], eax
call main
mov ecx, dword [0x40500c]
mov dword [0x405010], eax
test ecx, ecx
je 0x40148b
mov edx, dword [0x405008]
test edx, edx
je 0x401448
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
movzx eax, word [ebp - 0x2c]
jmp 0x4012d6
mov eax, dword [0x4053ec]
mov ebx, 1
cmp eax, 1
jne 0x4011da
mov dword [esp], 0x1f
call fcn.00402b50
mov eax, dword [0x4053ec]
cmp eax, 1
jne 0x4011ff
mov dword [esp + 4], 0x407008
mov dword [esp], section..CRT
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x4053ec], 2
test ebx, ebx
jne 0x401207
xchg dword [0x4053e8], ebx
jmp 0x401207
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
sub esp, 4
jmp 0x401190
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x405010]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 4], 0x407018
mov dword [esp], 0x40700c
mov dword [0x4053ec], 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x4011f1
mov eax, dword [ebp - 0x70]
jmp 0x40134c
mov dword [esp], eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
lea esi, [esi]
lea esi, [esi]
sub esp, 0xc
mov dword [0x405394], 1
call fcn.00401610
add esp, 0xc
jmp 0x401160