Function at 0x419470
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9508
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x5133d4]
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 esi, edx
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [edi], xmm0
mov dword [ebp - 0xe8], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0041a790
mov dword [edi], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
cmp word [esi], ax
jne 0x419506
xor ecx, ecx
jmp 0x41951f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419510
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x50]
call fcn.00403170
push ecx
lea edx, [ebp - 0x50]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.0041b480
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x41954a
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x30], esi
cmp eax, 8
jb 0x419578
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x8c], 0
cmp eax, 8
jb 0x4195ad
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0x3c], 7
xor ebx, ebx
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
cmp dword [ebp - 0x14], eax
jle 0x41984d
nop dword [eax]
mov edx, dword [esi + ebx*4]
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
cmp word [edx], ax
je 0x419600
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4195f1
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x68]
call fcn.00403170
push ecx
lea edx, [ebp - 0x68]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0041b480
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x419639
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0x54], 7
cmp dword [ebp - 0x18], 8
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 1
push eax
push 0x500534
mov dword [ebp - 0x58], 0
call fcn.004b6aaf
add esp, 0xc
test eax, eax
jne 0x4197da
push 1
push eax
push 0x500538
lea ecx, [ebp - 0x2c]
call fcn.00403080
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x4197af
push dword [ebp - 0x1c]
inc eax
lea ecx, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00416990
mov esi, eax
push dword [ebp - 0x34]
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 5
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00416990
push esi
mov edx, eax
lea ecx, [ebp - 0xe4]
call fcn.0041a840
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0041a8d0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0xf0]
mov ecx, edi
push eax
call fcn.0041a930
mov eax, dword [ebp - 0xb8]
cmp eax, 8
jb 0x419706
inc eax
lea ecx, [ebp - 0xcc]
push eax
push dword [ebp - 0xcc]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xbc], 0
cmp eax, 8
jb 0x419741
inc eax
lea ecx, [ebp - 0xe4]
push eax
push dword [ebp - 0xe4]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0xd0], 7
mov word [ebp - 0xe4], ax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xd4], 0
cmp eax, 8
jb 0x41977c
inc eax
lea ecx, [ebp - 0xb4]
push eax
push dword [ebp - 0xb4]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xa4], 0
cmp eax, 8
jb 0x419827
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
jmp 0x419822
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x84]
call fcn.0041a890
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0041aa80
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0xf8]
jmp 0x419803
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x84]
call fcn.0041a890
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.0041aa80
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x100]
push ecx
push eax
mov ecx, edi
call fcn.0041a930
mov eax, dword [ebp - 0x70]
cmp eax, 8
jb 0x419827
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.004017c0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x419840
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004017c0
mov esi, dword [ebp - 0x30]
inc ebx
cmp ebx, dword [ebp - 0x14]
jl 0x4195d0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
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.0048fcf2
mov esp, ebp
pop ebp
ret