Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4dc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x4d8], eax
mov eax, dword [sym.imp.MSVCR100.dll___argc]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
cmp dword [eax], ebx
jle 0x4010dc
mov edi, dword [sym.imp.MSVCR100.dll_wcsncmp]
mov eax, dword [sym.imp.MSVCR100.dll___wargv]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + ecx*4]
push 5
push 0x402144
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x40107a
add esi, 0xa
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], 1
jmp 0x4010b5
push 0xc
push str._quicklunch:
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x40109c
add esi, 0x18
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 1
jmp 0x4010b5
push 4
push str._dpi
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x4010b5
mov dword [esp + 0x1c], 1
inc dword [esp + 0x18]
mov eax, dword [sym.imp.MSVCR100.dll___argc]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax]
jl 0x40104a
cmp dword [esp + 0x1c], ebx
je 0x4010f6
cmp dword [esp + 0x20], ebx
je 0x4010dc
push dword [esp + 0x24]
call fcn.004013dc
pop ecx
xor eax, eax
inc eax
mov ecx, dword [esp + 0x4e4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004014c0
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esp + 0x10], ebx
je 0x4010dc
cmp dword [esp + 0x20], ebx
je 0x4010dc
xor eax, eax
push 0x208
mov word [esp + 0x2d4], ax
lea eax, [esp + 0x2d6]
push ebx
push eax
call sub.MSVCR100.dll_memset
push dword [esp + 0x30]
lea eax, [esp + 0x2e0]
push str.qqexchangewnd_shortcut_prefix__s
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_swprintf_s]
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
add esp, 0x1c
lea eax, [esp + 0x2d0]
push eax
mov edi, str.5B3838F5_0C81_46D9_A4C0_6EA28CA3E942
push edi
call esi
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x401168
push ebx
push edi
call esi
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x40119e
mov esi, dword [esp + 0x14]
push esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.MSVCR100.dll_wcslen]
lea eax, [eax + eax + 2]
pop ecx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push ebx
push 0x4a
push dword [esp + 0x1c]
mov dword [esp + 0x40], esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je 0x4010dc
call fcn.0040131a
mov esi, eax
mov dword [esp + 0x10], esi
call fcn.00401371
mov edi, eax
lea eax, [esp + 0x80]
push eax
push edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4011d7
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x14], edi
call fcn.00401249
push 0x44
pop esi
push esi
mov edi, eax
lea eax, [esp + 0x3c]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push dword [esp + 0x38]
mov dword [esp + 0x60], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4010dc
push dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x2c]
call esi
push dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
call esi
push dword [esp + 0x20]
call esi
push edi
call esi
add esp, 0xc
xor eax, eax
jmp 0x4010df