Function at 0x417a80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45178e
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x468254]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], esi
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x5c], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
mov dword [ebp - 0x6c], ecx
test ecx, ecx
je 0x417d61
mov eax, 1
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x64], eax
jle 0x417d5a
nop
mov edx, dword [ecx + eax*4]
xor eax, eax
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
mov eax, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417b33
sub eax, esi
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edx
call fcn.00417700
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae edi, dword [ebp - 0x28]
mov dword [ebp - 4], 1
test eax, eax
je 0x417b93
mov ecx, eax
xor esi, esi
mov edx, edi
test ecx, ecx
je 0x417b89
cmp word [edi], 0x22
je 0x417b84
cmp ecx, 1
je 0x417b86
add edx, 2
dec ecx
cmp word [edx], 0x22
jne 0x417b75
mov esi, edx
mov eax, dword [ebp - 0x18]
test esi, esi
je 0x417b93
sub esi, edi
sar esi, 1
jmp 0x417b96
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x417be7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
cmovae eax, dword [ebp - 0x28]
sub esp, 0x10
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov eax, esp
push 7
push 0x454b04
mov dword [eax], 0xe
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x40]
push eax
call fcn.0040e580
add esp, 0x1c
or dword [ebp - 0x5c], 2
mov byte [ebp - 4], 2
jmp 0x417cb6
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
test eax, eax
je 0x417c21
mov ecx, eax
xor esi, esi
mov edx, edi
test ecx, ecx
je 0x417c17
cmp word [edi], 0x20
je 0x417c15
cmp ecx, 1
je 0x417c17
add edx, 2
dec ecx
cmp word [edx], 0x20
jne 0x417c06
mov esi, edx
test esi, esi
je 0x417c21
sub esi, edi
sar esi, 1
jmp 0x417c24
or esi, 0xffffffff
lea eax, [ebp - 0x28]
cmp esi, 0xffffffff
je 0x417c72
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x50]
cmovae eax, dword [ebp - 0x28]
sub esp, 0x10
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov eax, esp
push 5
push 0x454b14
mov dword [eax], 0xe
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x40]
push eax
call fcn.0040e580
add esp, 0x1c
or dword [ebp - 0x5c], 4
mov byte [ebp - 4], 3
jmp 0x417cb6
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x58]
cmovae eax, dword [ebp - 0x28]
sub esp, 0x10
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
mov eax, esp
push 3
push 0x454b20
mov dword [eax], 0xe
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x40]
push eax
call fcn.0040e580
add esp, 0x1c
or dword [ebp - 0x5c], 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x60]
mov ecx, esi
push eax
call fcn.00416f00
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x417d0d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417d03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d9b
push edx
push ecx
call fcn.0043304f
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x417d47
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417d3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d9b
push edx
push ecx
call fcn.0043304f
add esp, 8
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x68], eax
cmp eax, dword [ebp - 0x64]
jl 0x417b10
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x417d7e
cmp dword [esi + 0x14], 8
lea ecx, [eax - 1]
mov eax, esi
jb 0x417d75
mov eax, dword [esi]
xor edx, edx
mov dword [esi + 0x10], ecx
mov word [eax + ecx*2], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004332ca
mov esp, ebp
pop ebp
ret
call fcn.0043774f
int3