Function at 0x4ecf05
Capabilities:
Persist via run registry key

Disassembly:
push 0x128
mov eax, 0x66d204
call fcn.005b47af
mov esi, ecx
cmp byte [ebp + 0xc], 0
je 0x4ecf29
call fcn.004ed1b0
test al, al
je 0x4ed1a8
mov ecx, esi
call fcn.004ecc3a
mov ecx, esi
call fcn.004ed203
cmp byte [ebp + 8], 0
je 0x4ecf4b
mov ecx, esi
call fcn.004ed294
mov ecx, esi
call fcn.004ed663
lea ecx, [ebp - 0x84]
call fcn.004c20e0
xor ebx, ebx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 4], ebx
mov edi, 0x68e2e8
mov dword [ebp - 0x18], ebx
push edi
mov word [ebp - 0x28], ax
call fcn.005ff18e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040a315
xor eax, eax
mov byte [ebp - 4], 1
mov edi, str.SOFTWARE_
mov dword [ebp - 0x2c], 7
push edi
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
call fcn.005ff18e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.0040a315
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00417c9a
add esp, 0xc
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.004c2c5c
xor edi, edi
lea ecx, [ebp - 0x58]
push 0
inc edi
mov bl, al
push edi
call fcn.00409de7
push 0
push edi
lea ecx, [ebp - 0x40]
call fcn.00409de7
push 0
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00409de7
test bl, bl
je 0x4ed05d
xor ebx, ebx
mov dword [ebp - 0x14], 7
cmp byte [ebp + 8], 1
mov edi, str.runmode
push edi
setne bl
and dword [ebp - 0x18], 0
xor eax, eax
add ebx, 2
mov word [ebp - 0x28], ax
call fcn.005ff18e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040a315
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x84]
call fcn.004c50f1
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00409de7
call fcn.0040ff0c
cmp dword [eax + 4], 0
jne 0x4ed19b
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.004ed95b
and dword [ebp - 0x18], 0
xor eax, eax
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov byte [ebp - 4], 5
push esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.005ff18e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040a315
push 0xf003f
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x84]
call fcn.004c42de
xor edi, edi
mov byte [ebp - 4], 5
push 0
inc edi
lea ecx, [ebp - 0x28]
push edi
mov bl, al
call fcn.00409de7
test bl, bl
je 0x4ed13e
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040bd70
xor eax, eax
mov byte [ebp - 4], 7
mov esi, 0x68e2e8
mov dword [ebp - 0x14], 7
xor ebx, ebx
mov word [ebp - 0x28], ax
push esi
mov dword [ebp - 0x18], ebx
call fcn.005ff18e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040a315
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x84]
call fcn.004c53e7
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.00409de7
push ebx
push edi
lea ecx, [ebp - 0x40]
call fcn.00409de7
jmp 0x4ed190
push edi
push 3
lea ecx, [ebp - 0x134]
call fcn.004078ff
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 9
push str.Run_registry_FAILED
push eax
call fcn.0040710b
pop ecx
pop ecx
lea eax, [ebp - 0x134]
xor ebx, ebx
push eax
push str.Installer::create
push 0x4a
push str.D:_build6c589d3ff8507062_srccoreInstaller.cpp
push ebx
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0x134]
call fcn.0040843a
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00409de7
lea ecx, [ebp - 0x84]
call fcn.004c211d
mov al, 1
call fcn.005b4759
ret 8