Function at 0x417090
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd6e6
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4f23d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x1c], 7
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp word [edx], ax
jne 0x4170e2
xor ecx, ecx
jmp 0x4170f6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4170e7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00403170
mov dword [ebp - 4], 0
lea edx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x84]
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
call fcn.00417dc0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
push ecx
push eax
call fcn.0041eab0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0x84]
push eax
push dword [eax]
lea eax, [ebp - 0x4c]
push eax
call fcn.00401710
push dword [ebp - 0x84]
call fcn.0048cbe0
add esp, 4
mov dword [ebp - 0x34], 7
xor eax, eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x48]
mov word [ebp - 0x48], ax
push 0xc
push 0x4e27d4
call fcn.00403170
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041ea30
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x4171ad
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
test bl, bl
je 0x417295
xor eax, eax
mov dword [ebp - 0x50], 7
push eax
push 0x4e0730
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
call fcn.00403170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
push 0xc
xor eax, eax
mov dword [ebp - 0x34], 7
push 0x4e27d4
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041e700
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x41721f
mov eax, dword [eax]
push eax
mov ecx, 0x4f6af0
call fcn.00401f00
mov eax, dword [ebp - 0x68]
cmp eax, 8
jb 0x41723f
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x6c], 0
cmp eax, 8
jb 0x417268
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x417295
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.004017c0
push 0xd
xor eax, eax
mov dword [ebp - 0x34], 7
push str._downloadtype
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041ea30
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x4172e5
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
test bl, bl
je 0x41733b
push 0xd
xor eax, eax
mov dword [ebp - 0x34], 7
push str._downloadtype
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x18]
call fcn.0041e7c0
mov dword [0x4f6b98], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x41733b
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
push 0xe
xor eax, eax
mov dword [ebp - 0x34], 7
push str._downloadscale
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041ea30
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x41738b
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
test bl, bl
je 0x4173eb
push 0xe
xor eax, eax
mov dword [ebp - 0x34], 7
push str._downloadscale
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 8
movsd xmm2, qword [0x4e3120]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041e940
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
movsd qword [0x4f6ba0], xmm0
cmp eax, 8
jb 0x4173eb
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
push 0xb
xor eax, eax
mov dword [ebp - 0x34], 7
push str._ischecknet
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041ea30
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x41743b
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
test bl, bl
je 0x417491
push 0xb
xor eax, eax
mov dword [ebp - 0x34], 7
push str._ischecknet
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x18]
call fcn.0041e8b0
mov byte [0x4f6b9c], al
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x417491
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
push 0x13
xor eax, eax
mov dword [ebp - 0x34], 7
push str._isenableappsensors
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041ea30
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x4174e1
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
test bl, bl
je 0x417537
push 0x13
xor eax, eax
mov dword [ebp - 0x34], 7
push str._isenableappsensors
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x18]
call fcn.0041e8b0
mov byte [0x4f6b9d], al
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x417537
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
push 0x10
xor eax, eax
mov dword [ebp - 0x34], 7
push str._dlappnamesuffix
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041ea30
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x417587
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
test bl, bl
je 0x417696
xor eax, eax
mov dword [ebp - 0x68], 7
push eax
push 0x4e0730
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
call fcn.00403170
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x48]
push 0x10
xor eax, eax
mov dword [ebp - 0x34], 7
push str._dlappnamesuffix
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041e700
mov edx, eax
mov byte [ebp - 4], 0xd
cmp dword [edx + 0x14], 8
jb 0x4175fb
mov edx, dword [edx]
cmp word [edx], 0
jne 0x417605
xor ecx, ecx
jmp 0x41761f
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417610
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x4f6b38
call fcn.00403170
mov eax, dword [ebp - 0x50]
cmp eax, 8
jb 0x417640
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], 0
cmp eax, 8
jb 0x417669
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x417696
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.004017c0
push 0xd
xor eax, eax
mov dword [ebp - 0x34], 7
push str._dlappversion
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041ea30
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x4176e6
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
test bl, bl
je 0x4177f6
xor eax, eax
mov dword [ebp - 0x68], 7
push eax
push 0x4e0730
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
call fcn.00403170
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x48]
push 0xd
xor eax, eax
mov dword [ebp - 0x34], 7
push str._dlappversion
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041e700
mov edx, eax
mov byte [ebp - 4], 0x10
cmp dword [edx + 0x14], 8
jb 0x41775a
mov edx, dword [edx]
cmp word [edx], 0
jne 0x417764
xor ecx, ecx
jmp 0x41777f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417770
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x4f6b50
call fcn.00403170
mov eax, dword [ebp - 0x50]
cmp eax, 8
jb 0x4177a0
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], 0
cmp eax, 8
jb 0x4177c9
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x4177f6
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.004017c0
push 8
xor eax, eax
mov dword [ebp - 0x34], 7
push str._instcmd
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041ea30
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x417846
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
test bl, bl
je 0x4179c0
xor eax, eax
mov dword [ebp - 0x68], 7
push eax
push 0x4e0730
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
call fcn.00403170
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x48]
push 8
xor eax, eax
mov dword [ebp - 0x34], 7
push str._instcmd
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041e700
mov edx, eax
mov byte [ebp - 4], 0x13
cmp dword [edx + 0x14], 8
jb 0x4178ba
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
cmp word [edx], ax
jne 0x4178e0
xor ecx, ecx
jmp 0x4178f4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4178e5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.00403170
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x14
push eax
mov ecx, 0x4f6b68
call fcn.00403270
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x417938
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x90], 0
cmp eax, 8
jb 0x41796a
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.004017c0
xor eax, eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], 0
cmp eax, 8
jb 0x417993
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x4179c0
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.004017c0
push 9
xor eax, eax
mov dword [ebp - 0x34], 7
push str._language
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041ea30
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x417a10
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
test bl, bl
je 0x417a66
push 9
xor eax, eax
mov dword [ebp - 0x34], 7
push str._language
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x18]
call fcn.0041e7c0
mov dword [0x4f6bc4], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x417a66
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
push 7
xor eax, eax
mov dword [ebp - 0x34], 7
push str._insnew
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403170
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041ea30
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x417ab6
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004017c0
push 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
call fcn.00401820
test bl, bl
je 0x417af6
push str._insnew
lea ecx, [ebp - 0x64]
call fcn.00403010
push ecx
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x18]
call fcn.0041e8b0
lea ecx, [ebp - 0x64]
mov byte [0x4f6bc8], al
call fcn.00401650
lea ecx, [ebp - 0x18]
call fcn.00401610
lea ecx, [ebp - 0x30]
call fcn.00401650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cbbc
mov esp, ebp
pop ebp
ret