Function at 0x40feb0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.0040e540
mov edx, dword [esp + 0x18]
lea eax, [edx*4]
push eax
call fcn.004121c0
mov ecx, dword [esp + 0x24]
lea edx, [ecx + ecx]
mov edi, eax
push edx
mov dword [esp + 0x24], edi
call fcn.004121c0
mov ebx, eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
mov edx, edi
mov eax, esi
mov dword [esp + 0x3c], ebx
call fcn.0040e540
mov edx, dword [esp + 0x44]
add esp, 0x18
push 0
mov dword [0x42b650], edx
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x10]
xor ebp, ebp
xor esi, esi
dec eax
test eax, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], eax
jle 0x4100b9
lea esp, [esp]
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + eax*4]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
lea esi, [ebx - 1]
push esi
lea ecx, [esp + 0x1c]
call fcn.00401e90
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
add edi, eax
add eax, esi
cmp edi, eax
jae 0x40ffa4
mov ecx, eax
sub ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [esp + 0x14]
push 0
mov dword [ebp + 8], esi
mov eax, dword [ebp + 0x10]
push 0
push ebx
mov byte [esi + eax], 0
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [edx + eax*4]
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
jne 0x40fffd
test eax, eax
je 0x40fffb
mov esi, eax
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x40fff0
sub esi, ecx
jmp 0x40fffd
xor esi, esi
lea edi, [esi + 0x10]
push edi
call fcn.00412380
mov ecx, edi
mov edx, ecx
mov ebx, eax
shr ecx, 2
mov eax, 0x1c1c1c1c
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
test ebx, ebx
rep stosb byte es:[edi], al
je 0x410035
mov dword [ebx + 4], 1
mov dword [ebx], 0x421c18
jmp 0x410037
xor ebx, ebx
mov ecx, esi
mov eax, ecx
mov dword [ebx + 8], esi
shr ecx, 2
mov byte [ebx + esi + 0xc], 0
mov esi, dword [esp + 0x10]
lea edi, [ebx + 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
push 1
lea ecx, [esp + 0x24]
call fcn.0040fcc0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
lea ecx, [ecx + eax*4]
inc eax
test ecx, ecx
mov dword [esi + 8], eax
je 0x410085
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
test eax, eax
js 0x410085
inc eax
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
test eax, eax
js 0x41009c
dec eax
test eax, eax
mov dword [ebx + 4], eax
jne 0x41009c
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x40ff50
mov ebx, dword [esp + 0x24]
test esi, esi
push ecx
mov eax, esp
mov dword [eax], esi
je 0x4100cd
mov eax, dword [esi + 4]
test eax, eax
js 0x4100cd
inc eax
mov dword [esi + 4], eax
push 0
lea eax, [esp + 0x34]
push str.Init
push eax
call fcn.004014f0
mov eax, dword [esp + 0x3c]
add esp, 0x10
test eax, eax
mov ecx, eax
je 0x410102
mov edx, dword [eax + 4]
add eax, 4
test edx, edx
js 0x410102
dec edx
test edx, edx
mov dword [eax], edx
jne 0x410102
mov edx, dword [ecx]
push 1
call dword [edx]
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
call fcn.0041249e
push ebx
call fcn.0041249e
add esp, 8
test ebp, ebp
je 0x410133
mov eax, dword [ebp + 4]
test eax, eax
js 0x410133
dec eax
test eax, eax
mov dword [ebp + 4], eax
jne 0x410133
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
test esi, esi
je 0x41014e
mov eax, dword [esi + 4]
test eax, eax
js 0x41014e
dec eax
test eax, eax
mov dword [esi + 4], eax
jne 0x41014e
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 0x10