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 [0x427394]
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 [0x427454], edi
test eax, eax
jne 0x4011a8
mov eax, dword [0x427458]
xor ebx, ebx
cmp eax, 1
je 0x4013db
mov eax, dword [0x427458]
test eax, eax
je 0x401460
mov dword [0x427008], 1
mov eax, dword [0x427458]
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.0040e6d0
mov dword [esp], 0x40e9c0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
sub esp, 4
mov dword [0x4273ac], eax
mov dword [esp], section..text
call sub.MSVCR120D.dll__set_invalid_parameter_handler
call sub.MSVCR120D.dll__fpreset
mov dword [0x427450], 0x400000
call sub.MSVCR120D.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 [0x42744c], eax
mov ebx, dword [0x427394]
test ebx, ebx
je 0x4012db
mov eax, 0xa
test byte [ebp - 0x30], 1
jne 0x4013b8
mov dword [section..data], eax
mov ebx, dword [0x42701c]
lea esi, [ebx*4 + 4]
mov dword [esp], esi
call sub.MSVCR120D.dll_malloc
mov edx, dword [0x427018]
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.MSVCR120D.dll_strlen
lea esi, [eax + 1]
mov dword [esp], esi
call sub.MSVCR120D.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.MSVCR120D.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 [0x427018], eax
call fcn.0040e220
mov eax, dword [0x427014]
mov edx, dword [sym.imp.MSVCR120D.dll___initenv]
mov dword [edx], eax
mov dword [esp + 8], eax
mov eax, dword [0x427018]
mov dword [esp + 4], eax
mov eax, dword [0x42701c]
mov dword [esp], eax
call main
mov ecx, dword [0x42700c]
mov dword [0x427010], eax
test ecx, ecx
je 0x40148b
mov edx, dword [0x427008]
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 [0x427458]
mov ebx, 1
cmp eax, 1
jne 0x4011da
mov dword [esp], 0x1f
call sub.MSVCR120D.dll__amsg_exit
mov eax, dword [0x427458]
cmp eax, 1
jne 0x4011ff
mov dword [esp + 4], 0x42a008
mov dword [esp], section..CRT
call sub.MSVCR120D.dll__initterm
mov dword [0x427458], 2
test ebx, ebx
jne 0x401207
xchg dword [0x427454], ebx
jmp 0x401207
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
sub esp, 4
jmp 0x401190
call sub.MSVCR120D.dll__cexit
mov eax, dword [0x427010]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 4], 0x42a018
mov dword [esp], 0x42a00c
mov dword [0x427458], 1
call sub.MSVCR120D.dll__initterm
jmp 0x4011f1
mov eax, dword [ebp - 0x70]
jmp 0x40134c
mov dword [esp], eax
call sub.MSVCR120D.dll_exit
lea esi, [esi]
lea esi, [esi]
sub esp, 0xc
mov dword [0x427394], 1
call fcn.0040e260
add esp, 0xc
jmp 0x401160