Function at 0x4182d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5138e9
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x55d198]
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
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 0x418323
xor ecx, ecx
jmp 0x41833f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418330
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00403800
mov dword [ebp - 4], 0
lea edx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x88]
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
call fcn.00420c20
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
push ecx
push eax
call fcn.004227c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x88]
push eax
push dword [eax]
lea eax, [ebp - 0x4c]
push eax
call fcn.004047c0
push dword [ebp - 0x88]
call fcn.0049fd73
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 7
push str._istest
call fcn.00403800
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00422740
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x4183f6
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403a50
test bl, bl
je 0x418494
push 7
xor eax, eax
mov dword [ebp - 0x34], 7
push str._istest
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403800
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x18]
call fcn.004225c0
mov ecx, dword fs:[0x2c]
mov bl, al
mov edx, dword [ecx]
mov ecx, dword [0x562f2c]
cmp ecx, dword [edx + 0x10]
jle 0x418475
push 0x562f2c
call fcn.004d179e
add esp, 4
cmp dword [0x562f2c], 0xffffffff
jne 0x418475
push 0x562f2c
mov byte [0x562f30], 0
call fcn.004d175f
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
mov byte [0x562f30], bl
cmp eax, 8
jb 0x418494
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403a50
push 0xc
xor eax, eax
mov dword [ebp - 0x34], 7
push str._downloadurl
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403800
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00422740
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x4184e4
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403a50
test bl, bl
je 0x4185f4
xor eax, eax
mov dword [ebp - 0x54], 7
push eax
push 0x544088
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
call fcn.00403800
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
push 0xc
xor eax, eax
mov dword [ebp - 0x34], 7
push str._downloadurl
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403800
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x18]
call fcn.00422410
mov esi, eax
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], 8
jb 0x418558
mov esi, dword [esi]
call fcn.00404640
cmp word [esi], 0
mov edx, eax
jne 0x418569
xor ecx, ecx
jmp 0x41857f
mov ecx, esi
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418570
sub ecx, edi
sar ecx, 1
push ecx
push esi
lea ecx, [edx + 0x18]
call fcn.00403800
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x41859e
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00403a50
xor eax, eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], 0
cmp eax, 8
jb 0x4185c7
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403a50
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x4185f4
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00403a50
push 0xa
xor eax, eax
mov dword [ebp - 0x34], 7
push str._updateurl
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403800
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00422740
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x418644
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403a50
test bl, bl
je 0x418753
xor eax, eax
mov dword [ebp - 0x6c], 7
push eax
push 0x544088
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
call fcn.00403800
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
push 0xa
xor eax, eax
mov dword [ebp - 0x34], 7
push str._updateurl
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00403800
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x18]
call fcn.00422410
mov esi, eax
mov byte [ebp - 4], 0xa
cmp dword [esi + 0x14], 8
jb 0x4186b8
mov esi, dword [esi]
call fcn.00404640
cmp word [esi], 0
mov edx, eax
jne 0x4186c9
xor ecx, ecx
jmp 0x4186df
mov ecx, esi
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4186d0
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00403800
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x4186fd
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00403a50
xor eax, eax
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x58], 0
cmp eax, 8
jb 0x418726
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403a50
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x418753
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00403a50
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.00403800
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00422740
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x4187a3
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403a50
test bl, bl
je 0x4187fe
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.00403800
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x18]
call fcn.004224d0
mov esi, eax
call fcn.00404640
mov byte [ebp - 4], 3
mov dword [eax + 0x48], esi
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x4187fe
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403a50
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.00403800
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00422740
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x41884e
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403a50
test bl, bl
je 0x4188ba
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.00403800
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xc
movsd xmm2, qword [0x548490]
lea ecx, [ebp - 0x18]
push eax
call fcn.00422650
movsd qword [ebp - 0x50], xmm0
call fcn.00404640
movsd xmm0, qword [ebp - 0x50]
mov byte [ebp - 4], 3
movsd qword [eax + 0x50], xmm0
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x4188ba
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403a50
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.00403800
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00422740
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x41890a
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403a50
test bl, bl
je 0x418a14
xor eax, eax
mov dword [ebp - 0x54], 7
push eax
push 0x544088
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
call fcn.00403800
mov byte [ebp - 4], 0xd
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.00403800
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x18]
call fcn.00422410
mov byte [ebp - 4], 0xf
call fcn.00404640
lea ecx, [eax + 0x30]
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0xa0]
cmp ecx, eax
je 0x418997
push 0xffffffffffffffff
push 0
push eax
call fcn.004033f0
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x4189b5
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00403a50
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x90], 0
cmp eax, 8
jb 0x4189e7
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403a50
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x418a14
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00403a50
call fcn.00404640
lea esi, [eax + 0x58]
lea eax, [ebp - 0x18]
cmp esi, eax
je 0x418a38
mov ecx, esi
call fcn.00404740
push dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00419bd0
lea ecx, [ebp - 0x80]
call fcn.00418f20
push 0xfde9
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x68]
call fcn.00424180
add esp, 4
mov byte [ebp - 4], 0x12
cmp eax, 0x562e60
je 0x418a70
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x562e60
call fcn.00409b90
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x418a85
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00409eb0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp eax, 8
jb 0x418aac
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00403a50
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
push eax
push dword [eax]
lea eax, [ebp - 0x4c]
push eax
call fcn.004047c0
push dword [ebp - 0x18]
call fcn.0049fd73
mov eax, dword [ebp - 0x1c]
add esp, 4
cmp eax, 8
jb 0x418ade
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00403a50
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.004d1626
mov esp, ebp
pop ebp
ret