Function at 0x18065630
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, 0x180b1ef8
call fcn.18040963
mov eax, dword [ebp + 8]
mov esi, 0x180b1f18
mov dword [eax + 0xc], 0xc
call fcn.18040963
lea esi, [ebp - 0x28]
call fcn.18027454
mov eax, dword [0x180b4188]
mov ecx, 0x180b4188
call dword [eax + 0xc]
add eax, 0x10
push str.update
mov dword [ebp + 8], eax
mov esi, 0x180a5c08
lea eax, [ebp + 8]
push esi
push eax
call fcn.18002c02
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.18065418
pop ecx
pop ecx
test eax, eax
jge 0x180656bd
mov edi, 0x80040706
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.18003e0a
lea esi, [ebp - 0x28]
call fcn.18041104
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
test eax, 0xfffffffc
je 0x180656d1
mov edi, 0x80040712
jmp 0x180656a1
push str.uninstall
lea eax, [ebp + 8]
push esi
push eax
call fcn.18002c02
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.18065418
pop ecx
pop ecx
test eax, eax
jl 0x1806569c
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
test eax, 0xfffffffc
je 0x1806570a
mov edi, 0xa0430721
jmp 0x180656a1
push str.install
lea eax, [ebp + 8]
push esi
push eax
call fcn.18002c02
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.18065418
pop ecx
pop ecx
test eax, eax
jl 0x1806569c
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
test eax, 0xfffffffc
je 0x1806569c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x1806569c
push eax
lea eax, [ebp - 0xc]
call fcn.18003b7f
mov edi, dword [ebp - 0xc]
cmp dword [edi - 0xc], 0
jne 0x18065771
lea eax, [edi - 0x10]
call fcn.18003e0a
jmp 0x1806569c
mov ebx, str.DealPlyLive.exe
xor ecx, ecx
mov eax, ebx
lea esi, [ebp - 0xc]
call fcn.180091cb
mov esi, eax
cmp esi, 0xffffffff
je 0x18065764
push ebx
call fcn.180764d5
add eax, esi
pop ecx
js 0x1806588e
mov ecx, dword [edi - 0xc]
cmp eax, ecx
jg 0x1806588e
push 0x22
pop edx
cmp dx, word [edi + eax*2]
jne 0x180657ad
inc eax
sub ecx, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
call fcn.180056fc
lea ebx, [ebp - 0x10]
call fcn.18009291
call fcn.180092d3
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
xor ebx, ebx
sar eax, 2
test eax, eax
jbe 0x18065833
mov eax, dword [0x180b4188]
mov ecx, 0x180b4188
call dword [eax + 0xc]
add eax, 0x10
mov edi, ebx
lea esi, [ebp - 0x28]
mov dword [ebp - 8], eax
call fcn.18009442
lea ecx, [ebp - 8]
push ecx
push dword [eax]
call fcn.1800f1b3
pop ecx
pop ecx
test eax, eax
jl 0x18065817
mov eax, dword [ebp - 0x10]
xor ecx, ecx
lea esi, [ebp - 8]
call fcn.180091cb
cmp eax, 0xffffffff
jne 0x18065863
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.18003e0a
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x180657d7
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.18003e0a
lea eax, [edi - 0x10]
call fcn.18003e0a
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.18003e0a
lea esi, [ebp - 0x28]
call fcn.18041104
mov eax, 0x80040711
jmp 0x180656b6
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.18003e0a
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.18003e0a
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.18003e0a
mov edi, 0x80040710
jmp 0x180656a1
push 0x80070057
call fcn.18003d24
int3