Function at 0x471aa0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x400
push 0
push edi
call fcn.004e46b0
lea eax, [ebp - 0x808]
push eax
call fcn.004716a0
add esp, 0x10
test eax, eax
je 0x471c99
cmp dword [0x5714fc], 0
je 0x471bbe
cmp word [ebp - 0x808], 0x22
lea eax, [ebp - 0x808]
push 0x2f
push eax
jne 0x471b43
call fcn.004e3c44
mov esi, eax
lea eax, [ebp - 0x808]
sub esi, eax
lea eax, [ebp - 0x806]
sar esi, 1
sub esi, 2
push esi
push eax
push edi
call fcn.004ec074
mov ecx, edi
add esp, 0x14
xor eax, eax
mov word [edi + esi*2], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471b33
jmp 0x471c3b
call fcn.004e3c44
mov esi, eax
add esp, 8
lea eax, [ebp - 0x808]
sub esi, eax
sar esi, 1
cmp word [ebp + esi*2 - 0x804], 0x20
jne 0x471cbc
mov ecx, eax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471b70
sub ecx, edx
lea eax, [ebp - 0x802]
sar ecx, 1
lea eax, [eax + esi*2]
sub ecx, esi
sub ecx, 3
push ecx
push eax
push edi
call fcn.004ec074
lea ecx, [ebp - 0x808]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471ba1
sub ecx, edx
sar ecx, 1
sub ecx, esi
xor eax, eax
mov word [edi + ecx*2 - 6], ax
jmp 0x471c5c
lea eax, [ebp - 0x100c]
push eax
call fcn.004717a0
add esp, 4
test eax, eax
je 0x471d10
lea eax, [ebp - 0x100c]
push str.1.10
push eax
call fcn.00415d00
add esp, 8
test eax, eax
js 0x471d10
lea eax, [ebp - 0x808]
push 0x22
push eax
call fcn.004e3c44
mov esi, eax
lea eax, [ebp - 0x808]
sub esi, eax
lea eax, [ebp - 0x806]
sar esi, 1
dec esi
push esi
push eax
push edi
call fcn.004ec074
mov ecx, edi
add esp, 0x14
xor eax, eax
mov word [edi + esi*2], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471c30
sub ecx, edx
sar ecx, 1
cmp word [edi + ecx*2 - 2], 0x5c
je 0x471c5c
push 0x5c
push edi
call fcn.004e3c44
sub eax, edi
add esp, 8
sar eax, 1
xor ecx, ecx
mov word [edi + eax*2], cx
push 0x401
lea eax, [ebp - 0x100c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
call fcn.00421530
test eax, eax
jne 0x471ca3
lea eax, [ebp - 0x100c]
push eax
push edi
call fcn.004e85f7
add esp, 8
test eax, eax
jne 0x471ca3
mov dword [0x5714f4], 1
jmp 0x471ca3
push edi
push esi
call fcn.004712f0
add esp, 8
push edi
call fcn.0041eee0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push 0
push str.UNINSTALL_OLD_VERSION_FIRST
call fcn.00419a00
lea eax, [ebp - 0x808]
push 0x2f
push eax
call fcn.004e3c44
mov esi, eax
lea eax, [ebp - 0x808]
sub esi, eax
sar esi, 1
dec esi
push esi
push eax
push edi
call fcn.004ec074
add esp, 0x1c
xor eax, eax
mov word [edi + esi*2], ax
push 1
push eax
push 0x524d48
push edi
push 0x518484
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
call fcn.004f7120
push 0
push str.UNINSTALL_OLD_VERSION_FIRST
call fcn.00419a00
lea eax, [ebp - 0x808]
push 0x22
push eax
call fcn.004e3c44
mov esi, eax
lea eax, [ebp - 0x808]
sub esi, eax
lea eax, [ebp - 0x806]
sar esi, 1
dec esi
push esi
push eax
push edi
call fcn.004ec074
add esp, 0x1c
xor eax, eax
mov word [edi + esi*2], ax
push 1
push eax
push 0x524d48
push edi
push 0x518484
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
call fcn.004f7120
int3