Function at 0x423170
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534b46
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x58a464]
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 0x4231c2
xor ecx, ecx
jmp 0x4231d6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4231c7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.004065f0
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.004484b0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
push ecx
push eax
call fcn.0044b8d0
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.00406ca0
push dword [ebp - 0x84]
call fcn.004f0500
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 0x571350
call fcn.004065f0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406200
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x42328d
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
test bl, bl
je 0x423375
xor eax, eax
mov dword [ebp - 0x68], 7
push eax
push 0x56e974
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
call fcn.004065f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
push 0xc
xor eax, eax
mov dword [ebp - 0x34], 7
push 0x571350
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.004065f0
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x18]
call fcn.0044b5a0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4232ff
mov eax, dword [eax]
push eax
mov ecx, 0x58feb8
call fcn.00408240
mov eax, dword [ebp - 0x50]
cmp eax, 8
jb 0x42331f
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.00406d50
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 0x423348
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
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 0x423375
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.00406d50
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.004065f0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406200
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x4233c5
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
test bl, bl
je 0x42341b
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.004065f0
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x18]
call fcn.0044b660
mov dword [0x58ff60], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x42341b
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
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.004065f0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406200
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x42346b
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
test bl, bl
je 0x4234cb
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.004065f0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 8
movsd xmm2, qword [0x574ad8]
lea ecx, [ebp - 0x18]
push eax
call fcn.0044b7e0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
movsd qword [0x58ff68], xmm0
cmp eax, 8
jb 0x4234cb
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
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.004065f0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406200
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x42351b
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
test bl, bl
je 0x423571
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.004065f0
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x18]
call fcn.0044b750
mov byte [0x58ff64], al
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x423571
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
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.004065f0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406200
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x4235c1
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
test bl, bl
je 0x423617
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.004065f0
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x18]
call fcn.0044b750
mov byte [0x58ff65], al
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x423617
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
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.004065f0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406200
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x423667
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
test bl, bl
je 0x423776
xor eax, eax
mov dword [ebp - 0x50], 7
push eax
push 0x56e974
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
call fcn.004065f0
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.004065f0
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0044b5a0
mov edx, eax
mov byte [ebp - 4], 0xd
cmp dword [edx + 0x14], 8
jb 0x4236db
mov edx, dword [edx]
cmp word [edx], 0
jne 0x4236e5
xor ecx, ecx
jmp 0x4236ff
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4236f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x58ff00
call fcn.004065f0
mov eax, dword [ebp - 0x68]
cmp eax, 8
jb 0x423720
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.00406d50
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 0x423749
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
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 0x423776
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.00406d50
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.004065f0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406200
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x4237c6
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
test bl, bl
je 0x4238d6
xor eax, eax
mov dword [ebp - 0x50], 7
push eax
push 0x56e974
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
call fcn.004065f0
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.004065f0
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0044b5a0
mov edx, eax
mov byte [ebp - 4], 0x10
cmp dword [edx + 0x14], 8
jb 0x42383a
mov edx, dword [edx]
cmp word [edx], 0
jne 0x423844
xor ecx, ecx
jmp 0x42385f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423850
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x58ff18
call fcn.004065f0
mov eax, dword [ebp - 0x68]
cmp eax, 8
jb 0x423880
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.00406d50
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 0x4238a9
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
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 0x4238d6
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.00406d50
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.004065f0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406200
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x423926
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
test bl, bl
je 0x423a9c
xor eax, eax
mov dword [ebp - 0x50], 7
push eax
push 0x56e974
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
call fcn.004065f0
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.004065f0
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0044b5a0
mov edx, eax
mov byte [ebp - 4], 0x13
cmp dword [edx + 0x14], 8
jb 0x42399a
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 0x4239c0
xor ecx, ecx
jmp 0x4239d4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4239c5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.004065f0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x14
push eax
mov ecx, 0x58ff30
call fcn.004066f0
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x423a18
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00406d50
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x90], 0
cmp eax, 8
jb 0x423a4a
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.00406d50
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 0x423a73
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00406d50
xor eax, eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x423a9c
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.00406d50
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
push eax
push dword [eax]
lea eax, [ebp - 0x4c]
push eax
call fcn.00406ca0
push dword [ebp - 0x18]
call fcn.004f0500
mov eax, dword [ebp - 0x1c]
add esp, 4
cmp eax, 8
jb 0x423ace
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00406d50
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.004f0482
mov esp, ebp
pop ebp
ret