Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4026b0
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x11c], 2
mov ebx, eax
jne 0x40109c
push 0xffffffffffffffff
push dword [ebx + 4]
lea eax, [ebp - 0x110]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ax, word [ebp - 0x110]
add esp, 0x10
xor esi, esi
test ax, ax
je 0x4010a5
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswalpha]
movzx ecx, ax
nop
push ecx
call edi
add esp, 4
test eax, eax
je 0x40109c
movzx eax, word [ebp + esi*2 - 0x10e]
inc esi
mov ecx, eax
test ax, ax
jne 0x401080
jmp 0x4010a5
xor eax, eax
mov word [ebp - 0x110], ax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp word [ebp - 0x110], 0
jne 0x4010cf
push 0
push 0x403160
push str.S0n0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4012c9
xorps xmm0, xmm0
mov dword [ebp - 0x13c], 0
lea edx, [ebp - 0x110]
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x124], 0
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x120], 0
call fcn.004014c0
test al, al
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x11c], eax
je 0x40122e
test eax, eax
je 0x40122e
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x134]
push 0xffffffffffffffff
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x118]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, dword [ebp - 0x120]
mov edi, dword [ebp - 0x124]
mov esi, dword [ebp - 0x13c]
test eax, eax
je 0x401240
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 0x2a4]
sub eax, 0
je 0x4011dc
sub eax, 1
je 0x4011a1
sub eax, 1
je 0x401220
jmp 0x4011f9
test ebx, ebx
je 0x4011b4
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor ebx, ebx
mov dword [ebp - 0x120], ebx
test edi, edi
je 0x4011c7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [ebp - 0x124], edi
test esi, esi
je 0x4011f9
push esi
call dword [0x4043d0]
xor esi, esi
mov dword [ebp - 0x13c], esi
jmp 0x4011f9
lea ecx, [ebp - 0x13c]
call fcn.004016c0
mov ebx, dword [ebp - 0x120]
mov edi, dword [ebp - 0x124]
mov esi, dword [ebp - 0x13c]
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x118]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x401180
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x11c], eax
jmp 0x401240
mov esi, dword [ebp - 0x13c]
mov edi, dword [ebp - 0x124]
mov ebx, dword [ebp - 0x120]
test ebx, ebx
je 0x40124b
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x401258
push edi
call ebx
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x401269
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x401276
push eax
call ebx
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x401283
push eax
call ebx
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x401290
push eax
call ebx
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x40129d
push eax
call ebx
mov eax, dword [0x4043c0]
test eax, eax
je 0x4012b7
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4043c0], 0
mov dword [ebp - 4], 1
test esi, esi
je 0x4012c9
push esi
call dword [0x4043d0]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401897
mov esp, ebp
pop ebp
ret 0x10