Function at 0x41f310
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5337e8
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x5796f4]
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.00420600
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 0x41f3a6
xor ecx, ecx
jmp 0x41f3bf
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f3b0
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.004212f0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x41f3ea
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 0x41f418
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 0x41f44d
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 0x41f6ed
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 0x41f4a0
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f491
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.004212f0
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x41f4d9
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 0x56540c
mov dword [ebp - 0x58], 0
call fcn.005182c2
add esp, 0xc
test eax, eax
jne 0x41f67a
push 1
push eax
push 0x565410
lea ecx, [ebp - 0x2c]
call fcn.00403080
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x41f64f
push dword [ebp - 0x1c]
inc eax
lea ecx, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0041c470
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.0041c470
push esi
mov edx, eax
lea ecx, [ebp - 0xe4]
call fcn.004206b0
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00420740
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0xf0]
mov ecx, edi
push eax
call fcn.004207a0
mov eax, dword [ebp - 0xb8]
cmp eax, 8
jb 0x41f5a6
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 0x41f5e1
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 0x41f61c
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 0x41f6c7
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
jmp 0x41f6c2
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x84]
call fcn.00420700
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.004208f0
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0xf8]
jmp 0x41f6a3
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x84]
call fcn.00420700
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.004208f0
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x100]
push ecx
push eax
mov ecx, edi
call fcn.004207a0
mov eax, dword [ebp - 0x70]
cmp eax, 8
jb 0x41f6c7
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 0x41f6e0
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 0x41f470
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.004edc3c
mov esp, ebp
pop ebp
ret