Function at 0x40ef00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589c47
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5f0a00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040d9d0
mov ecx, eax
call fcn.00421730
mov dword [ebp - 0x218], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x30], 0
mov ecx, edx
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ef61
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0040b6c0
cmp dword [ebp - 0x2c], 7
lea edi, [ebp - 0x40]
mov esi, dword [ebp - 0x30]
cmova edi, dword [ebp - 0x40]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], edi
test esi, esi
je 0x40f061
push 0x100
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00557d70
add esp, 0xc
mov ecx, 0x599f48
mov edx, 0x100
nop dword [eax]
movzx eax, word [ecx]
cmp ax, dx
jae 0x40f011
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x214], 1
cmp ecx, 0x599f4c
jne 0x40efc0
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
lea esi, [edi + ecx*2]
nop dword [eax]
movzx eax, word [esi]
cmp ax, dx
jae 0x40f002
cmp byte [ebp + eax - 0x214], 0
jne 0x40f00b
cmp esi, edi
je 0x40f061
sub esi, 2
jmp 0x40eff0
sub esi, edi
sar esi, 1
jmp 0x40f064
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
lea esi, [edi + ecx*2]
movzx edi, word [esi]
mov eax, 0x2d
mov ecx, 0x599f48
lea edx, [eax - 0x2b]
cmp ax, di
je 0x40f057
cmp edx, 1
je 0x40f04a
movzx eax, word [ecx + 2]
add ecx, 2
dec edx
cmp ax, di
jne 0x40f034
test ecx, ecx
jne 0x40f057
cmp esi, dword [ebp - 0x220]
je 0x40f061
sub esi, 2
jmp 0x40f01f
sub esi, dword [ebp - 0x220]
sar esi, 1
jmp 0x40f064
or esi, 0xffffffff
mov eax, dword [ebp - 0x30]
inc esi
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
cmp eax, esi
jb 0x40f741
sub eax, esi
mov ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x58]
lea eax, [eax + esi*2]
push eax
call fcn.0040b6c0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x40f0e4
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f0da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f764
push ecx
push edx
call fcn.0055241f
add esp, 8
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [ebp - 0x30], xmm0
cmp dword [ebp - 0x30], 0
jne 0x40f230
call fcn.0040d9d0
cmp dword [eax + 0x31c], 7
lea ecx, [eax + 0x308]
mov dword [ebp - 0x224], ecx
jbe 0x40f122
mov ecx, dword [ecx]
mov dword [ebp - 0x224], ecx
mov esi, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40f127
mov edi, dword [ebp - 0x2c]
sub esi, edx
sar esi, 1
mov dword [ebp - 0x21c], edi
cmp esi, edi
ja 0x40f16c
cmp dword [ebp - 0x21c], 7
lea edi, [ebp - 0x40]
mov dword [ebp - 0x30], esi
cmova edi, dword [ebp - 0x40]
add esi, esi
push esi
push ecx
push edi
call fcn.005577f0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x40f230
cmp esi, 0x7ffffffe
ja 0x40f746
mov ecx, esi
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x40f18c
mov ecx, SysReAllocString
jmp 0x40f1aa
mov edx, edi
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp edi, eax
jbe 0x40f1a2
mov ecx, SysReAllocString
jmp 0x40f1aa
lea eax, [edi + edx]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040b660
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x30], esi
add esi, esi
push esi
push dword [ebp - 0x224]
mov dword [ebp - 0x21c], eax
push eax
mov dword [ebp - 0x2c], ecx
call fcn.005577f0
mov eax, dword [ebp - 0x21c]
xor ecx, ecx
add esp, 0x14
mov word [esi + eax], cx
cmp edi, 7
jbe 0x40f22d
mov ecx, dword [ebp - 0x40]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x40f21d
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f764
push edi
push ecx
call fcn.0055241f
mov eax, dword [ebp - 0x21c]
add esp, 8
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push str.sinstall
cmova eax, dword [ebp - 0x40]
push eax
call fcn.00561309
add esp, 8
test eax, eax
jne 0x40f255
lea esi, [eax + 7]
jmp 0x40f6ee
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push 0x599f64
cmova eax, dword [ebp - 0x40]
push eax
call fcn.00561309
add esp, 8
test eax, eax
jne 0x40f28d
cmp dword [ebp - 0x218], eax
setne al
lea eax, [eax*4 - 1]
mov dword [ebp - 0x218], eax
jmp 0x40f6e8
lea eax, [ebp - 0x88]
push eax
call fcn.0040e200
mov esi, eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 1
push eax
call fcn.0040e430
add esp, 8
push 1
push 0x599f88
push 0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00410cc0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push esi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x21c]
lea ecx, [ebp - 0xa0]
call fcn.0040dc00
push 6
push str..exe_
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.00410b40
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.00410b40
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x40f3e1
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f3d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f74b
push ecx
push edx
call fcn.0055241f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0xa0]
call fcn.0040bf90
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 9
cmp ecx, 7
jbe 0x40f43e
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f434
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f74b
push ecx
push edx
call fcn.0055241f
add esp, 8
lea ecx, [ebp - 0x114]
call fcn.0040bf90
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.0040bf90
lea ecx, [ebp - 0xfc]
call fcn.004119b0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004389e0
add esp, 8
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0xfc]
call fcn.00412390
mov eax, dword [str.setup]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], eax
mov al, byte [0x599f90]
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0xfc]
call fcn.00411d80
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0xd
cmp ecx, 0xf
jbe 0x40f506
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f4fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f750
push ecx
push edx
call fcn.0055241f
add esp, 8
test esi, esi
je 0x40f51b
xor eax, eax
cmp dword [ebp - 0x218], eax
setne al
inc eax
jmp 0x40f5ac
mov al, byte [0x599f9c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 9
movq xmm0, qword [str.uninstall]
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0xfc]
call fcn.00411d80
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0xd
cmp ecx, 0xf
jbe 0x40f596
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f58c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f755
push ecx
push edx
call fcn.0055241f
add esp, 8
test esi, esi
je 0x40f5bd
xor eax, eax
cmp dword [ebp - 0x218], eax
setne al
lea eax, [eax*4 - 1]
mov dword [ebp - 0x218], eax
cmp eax, 3
je 0x40f698
jmp 0x40f5d7
cmp dword [ebp - 0x218], 0
mov ecx, 2
mov eax, 1
cmovne eax, ecx
mov dword [ebp - 0x218], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 4
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x28], 0x68746170
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xfc]
call fcn.00411c50
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x12
cmp ecx, 0xf
jbe 0x40f646
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f63c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f75a
push ecx
push edx
call fcn.0055241f
add esp, 8
cmp dword [ebp - 0x60], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
je 0x40f690
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00436dd0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x13
call fcn.0040d9d0
push esi
lea ecx, [eax + 0x68]
call fcn.0040df70
lea ecx, [ebp - 0x88]
call fcn.0040bf90
lea ecx, [ebp - 0x70]
call fcn.0040ddb0
lea ecx, [ebp - 0xb8]
call fcn.0040ddb0
lea ecx, [ebp - 0xfc]
call fcn.0040de00
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x40f6e8
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f6de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f75f
push ecx
push edx
call fcn.0055241f
add esp, 8
mov esi, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x40f724
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f71a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f764
push ecx
push edx
call fcn.0055241f
add esp, 8
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.00551e44
mov esp, ebp
pop ebp
ret
call fcn.00410b30
call fcn.0040c990
call fcn.0055bf8b
call fcn.0055bf8b
call fcn.0055bf8b
call fcn.0055bf8b
call fcn.0055bf8b
call fcn.0055bf8b
int3