Function at 0x418100
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
push ebx
push esi
mov esi, 0x43c7b8
mov ebx, ecx
cmovne esi, eax
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418126
sub ecx, edx
push edi
sar ecx, 1
push ecx
push esi
lea ecx, [ebx + 0x74]
call fcn.00416e80
lea edi, [ebx + 0x8c]
push edi
push dword [edi + 4]
push dword [edi]
call fcn.004176c0
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 4], eax
test esi, esi
je 0x418253
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418166
sub ecx, edx
sar ecx, 1
je 0x418253
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor esi, esi
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x20], esi
jle 0x41824c
nop dword [eax + eax]
mov edx, dword [eax + esi*4]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x1c], ax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x28], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4181c0
sub ecx, dword [ebp - 0x28]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.00416e80
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x4181f9
movups xmm0, xmmword [ebp - 0x1c]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [eax + 0x10], xmm0
add dword [edi + 4], 0x18
jmp 0x41823f
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov ecx, edi
call fcn.00417730
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x41823f
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418235
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418316
push edx
push ecx
call fcn.0041b5ab
add esp, 8
mov eax, dword [ebp - 0x24]
inc esi
cmp esi, dword [ebp - 0x20]
jl 0x4181a0
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push str.XLShellCommandWindow
push str.XLShellCommandWindow
call dword [sym.imp.USER32.dll_FindWindowW]
push str.xl_D48222F7_CA0A_4f09_B8EA_482DA3F50227
push 0
mov dword [ebx + 0x70], eax
push 6
mov dword [ebx + 0x54], 0x5000
mov dword [ebx + 0x68], 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebx + 0x58], eax
pop edi
test eax, eax
jne 0x418294
call fcn.00412500
mov esi, eax
jmp 0x4182d9
push 0
push dword [ebx + 0x54]
mov dword [ebx + 0x68], 6
push 0
push 0
push 6
push eax
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [ebx + 0x50], eax
test eax, eax
jne 0x4182e2
call fcn.00412500
push dword [ebx + 0x58]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x58], 0
mov ecx, 1
test esi, esi
jne 0x418302
mov eax, dword [ebx + 0x50]
xor ecx, ecx
test eax, eax
je 0x418302
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov eax, ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ba48
mov esp, ebp
pop ebp
ret 4
call fcn.00420285
int3