Function at 0x4412d0
Capabilities:
Check if file exists
Create thread
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5560
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x44], reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
mov dword [ebp - 0x40], str.SYSTEMCurrentControlSet_servicesTS888
mov dword [ebp - 0x3c], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x38], str.SYSTEMCurrentControlSet_servicesTS888x64
nop dword [eax]
call fcn.0041bed0
test eax, eax
je 0x44160e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
mov edi, dword [ebp + ebx*8 - 0x40]
push edi
push 0x4f0260
push eax
call fcn.00421db0
mov esi, dword [ebp - 0x18]
push esi
push 0x4f0274
push 0x515488
call fcn.0048d1f0
add esp, 0x18
push edi
push dword [ebp + ebx*8 - 0x44]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x441394
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, 2
jb 0x441320
mov ebx, dword [ebp - 0x10]
push 0
push 0
push ebx
push 0x441200
push 0
push 0
call fcn.004af800
mov esi, eax
mov dword [ebp - 0x28], esi
push 0
push 0
push ebx
push 0x441220
push 0
push 0
mov dword [ebp - 4], 1
call fcn.004af800
mov edi, eax
mov dword [ebp - 0x2c], edi
push 0
push 0
push ebx
push 0x441240
push 0
push 0
mov byte [ebp - 4], 2
call fcn.004af800
mov ebx, eax
add esp, 0x48
mov dword [ebp - 0x30], ebx
push 0
push 0
push dword [ebp - 0x10]
mov byte [ebp - 4], 3
push 0x4412b0
push 0
push 0
call fcn.004af800
mov dword [ebp - 0x1c], eax
push 0
push 0
push dword [ebp - 0x10]
mov byte [ebp - 4], 4
push 0x441850
push 0
push 0
call fcn.004af800
add esp, 0x30
mov dword [ebp - 0x18], eax
push str.QMIEProtect.sys
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0041c970
mov byte [ebp - 4], 6
cmp dword [0x515c70], 0
jne 0x441478
mov dword [0x515c70], 1
call fcn.0048fb70
cmp eax, 8
jne 0x441478
call fcn.00488a30
cmp eax, 0x3839
jl 0x441478
mov dword [0x515c6c], 1
jmp 0x441481
cmp dword [0x515c6c], 0
je 0x441490
push 0x12
push str.QMIEProtect_ev.sys
lea ecx, [ebp - 0x14]
call fcn.0041ccd0
mov ecx, dword [0x511ea4]
cmp ecx, 0xffffffff
jne 0x4414da
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4415d7
push 0x511ea4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x20]
test eax, eax
je 0x4415d7
mov ecx, dword [0x511ea4]
test ecx, ecx
jne 0x44155c
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
lea edx, [edx + 4]
call fcn.00421dd0
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x20]
or ecx, 0xffffffff
mov dword [ebp - 0x24], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x441527
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x44155c
push 0
push 0
push dword [ebp - 0x10]
push 0x441820
push 0
push 0
call fcn.004af800
add esp, 0x18
mov dword [ebp - 0x24], eax
test eax, eax
je 0x44155c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4415ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4415ba
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4415c8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4415e6
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
jmp 0x4415ec
mov dword [0x511ea4], 0
jmp 0x4414de
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4415f3
push edi
call ebx
test esi, esi
je 0x4415fa
push esi
call ebx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0041cdf0
int3