Function at 0x404b50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
movups xmm0, xmmword [0x418030]
mov eax, dword [ebp + 8]
mov ecx, edx
push ebx
movups xmmword [0x41b704], xmm0
push esi
movups xmm0, xmmword [0x418040]
push edi
push 1
movups xmmword [0x41b714], xmm0
push ecx
movups xmm0, xmmword [0x418050]
mov dword [ebp - 4], ecx
mov dword [0x41b420], ecx
movups xmmword [0x41b724], xmm0
mov dword [0x41b424], eax
movups xmm0, xmmword [0x418060]
mov dword [0x41b70c], ecx
movups xmmword [0x41b734], xmm0
movups xmm0, xmmword [0x418070]
movups xmmword [0x41b744], xmm0
movups xmm0, xmmword [0x418080]
movups xmmword [0x41b754], xmm0
mov dword [0x41b75c], 0x41b420
movups xmm0, xmmword [0x417fd0]
movups xmmword [0x41b764], xmm0
mov dword [0x41b76c], ecx
movups xmm0, xmmword [0x417fe0]
movups xmmword [0x41b774], xmm0
movups xmm0, xmmword [0x417ff0]
movups xmmword [0x41b784], xmm0
movups xmm0, xmmword [0x418000]
movups xmmword [0x41b794], xmm0
movups xmm0, xmmword [0x418010]
movups xmmword [0x41b7a4], xmm0
movups xmm0, xmmword [0x418020]
movups xmmword [0x41b7b4], xmm0
mov dword [0x41b7bc], 0x41b420
movups xmm0, xmmword [0x417f68]
movups xmmword [0x41b7c4], xmm0
mov dword [0x41b7cc], ecx
movups xmm0, xmmword [0x417f78]
movups xmmword [0x41b7d4], xmm0
movups xmm0, xmmword [0x417f88]
movups xmmword [0x41b7e4], xmm0
movups xmm0, xmmword [0x417f98]
movups xmmword [0x41b7f4], xmm0
movups xmm0, xmmword [0x417fa8]
movups xmmword [0x41b804], xmm0
movups xmm0, xmmword [0x417fb8]
movups xmmword [0x41b814], xmm0
mov dword [0x41b81c], 0x41b420
call dword [sym.imp.USER32.dll_LoadMenuW]
mov dword [0x41b824], eax
test eax, eax
je 0x404f1f
push 0x41b428
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [0x41b42c], eax
test eax, eax
je 0x404f1f
mov ebx, dword [0x41b424]
xor edx, edx
xor ecx, ecx
mov dword [0x41b6dc], edx
xor eax, eax
mov dword [0x41b6e0], edx
mov dword [0x41b6e4], ecx
mov esi, 0x104
mov dword [0x41b6e8], 2
mov dword [0x41b6ec], ebx
mov dword [0x41b6f0], eax
test ebx, ebx
je 0x404d55
mov eax, dword [0x41b6e0]
add eax, esi
cmp eax, ecx
jbe 0x404d55
lea edi, [ecx + ecx]
cmp edi, eax
jae 0x404d1e
lea edi, [ecx + esi]
add edi, edi
push dword [ebx + 4]
mov eax, edi
imul eax, dword [0x41b6e8]
push eax
mov eax, dword [ebx]
push edx
call eax
mov edx, eax
add esp, 0xc
test edx, edx
je 0x404d49
mov ecx, edi
mov dword [0x41b6dc], edx
mov dword [0x41b6e4], ecx
jmp 0x404d55
mov ecx, dword [0x41b6e4]
mov edx, dword [0x41b6dc]
sub ecx, dword [0x41b6e0]
cmp ecx, esi
jb 0x404f1f
push esi
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x404f1f
mov edx, dword [0x41b6dc]
cmp eax, esi
jb 0x404d92
mov ebx, dword [0x41b6ec]
add esi, esi
mov ecx, dword [0x41b6e4]
jmp 0x404d03
push 0
mov ecx, 0x41b6dc
call fcn.00401890
add esp, 4
test eax, eax
je 0x404f1f
mov eax, dword [ebp - 4]
or dword [0x41b868], 0x18
xor ecx, ecx
mov edx, dword [0x41b424]
mov dword [0x41b85c], 0x60
mov dword [0x41b864], eax
mov dword [0x41b87c], 0x1c
mov dword [0x41b884], 0x41b8bc
mov dword [0x41b880], 2
mov dword [0x41b86c], 0x20
mov dword [0x41b8b4], 0x41b830
mov dword [0x41b8b0], 0x4055a0
nop word [eax + eax]
lea eax, [ecx + 0x400]
mov dword [ecx*8 + 0x41b8bc], eax
inc ecx
cmp ecx, 2
jne 0x404e10
movaps xmm0, xmmword [0x418390]
xor eax, eax
mov dword [0x41b854], edx
mov edx, dword [0x41b424]
mov dword [0x41b858], eax
mov eax, dword [0x41b6dc]
mov dword [0x41b834], ecx
mov ecx, 0x41b43c
movups xmmword [0x41b844], xmm0
mov dword [0x41b830], 0x418248
mov dword [0x41b83c], 4
mov dword [0x41b838], 6
mov dword [0x41b840], eax
mov dword [0x41b4bc], 0xc
call fcn.00401fc0
test eax, eax
jne 0x404f1f
mov eax, dword [0x41b424]
movaps xmm0, xmmword [0x418390]
push 0
mov dword [0x41b6d0], eax
xor eax, eax
push 0
push 1
mov dword [0x41b6d4], eax
mov eax, dword [0x41b6dc]
push 0
movups xmmword [0x41b6c0], xmm0
mov dword [0x41b6d8], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x41b700], eax
test eax, eax
je 0x404f1f
push 0x41b8d4
push 0x413290
push 1
push 0
push 0x4132d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x404f13
mov eax, dword [0x41b8d4]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jns 0x404f13
mov eax, dword [0x41b8d4]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
mov dword [0x41b8d4], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret