Function at 0x409450
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597f38
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x62cf50]
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
mov dword [ebp - 0x30], ecx
push 3
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push dword [ebp + 8]
push eax
call fcn.004096a0
add esp, 0x10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
test eax, eax
je 0x409672
push 0x800
push 0
push 0x5c04e8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.00409830
mov ebx, eax
mov dword [ebp - 0x40], ebx
test ebx, ebx
je 0x4094f2
push 0x5c0538
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x409502
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
push dword [ebp + 8]
call dword [0x5b1854]
call esi
jmp 0x4094ff
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x24]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
lea edi, [eax*4]
mov dword [ebp - 0x1c], 0
lea eax, [edi + esi]
mov dword [ebp - 0x18], 0
sar edi, 2
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
test edi, edi
je 0x40960c
cmp edi, 0xaaaaaaa
ja 0x409690
push edi
lea ecx, [ebp - 0x1c]
lfence
call fcn.00409320
mov esi, eax
lea ecx, [edi + edi*2]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x2c], eax
lea ecx, [esi + ecx*8]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x3c], xmm0
mov edi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 1
cmp eax, dword [ebp - 0x28]
je 0x4095e9
mov edx, dword [edi]
xor eax, eax
mov word [esi], ax
mov eax, edx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
lea ebx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4095c0
sub eax, ebx
mov ecx, esi
sar eax, 1
push eax
push edx
call fcn.00409db0
add esi, 0x18
add edi, 4
mov dword [ebp - 0x38], esi
cmp edi, dword [ebp - 0x28]
jne 0x4095a3
mov ebx, dword [ebp - 0x40]
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
call fcn.00409390
add esp, 0xc
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
call fcn.00409440
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], 2
call fcn.00409f20
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x409631
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 3
test eax, eax
je 0x409672
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.00409390
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x1c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a130
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.004016cd
mov esp, ebp
pop ebp
ret 8
call fcn.0047f6a0
int3