Function at 0x4142e0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4484c0
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x461054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x418], ecx
mov edi, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x424], eax
test edx, edx
jne 0x41433e
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi], edx
jmp 0x414692
cmp dword [eax + 0x14], 8
mov ecx, eax
mov dword [ebp - 0x41c], 0
jb 0x414352
mov ecx, dword [eax]
lea eax, [ebp - 0x41c]
push eax
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x414], ecx
cmp ecx, 2
cmove eax, edx
mov edx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x414407
call edx
mov dword [ebp - 0x42c], eax
call esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x420]
push esi
push eax
push 0xe0
push 0x44be9c
lea eax, [ebp - 0x410]
push 0x44beac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x4143e9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4143e9
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x414]
mov edx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ecx, 2
je 0x414681
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
jne 0x414482
call edx
mov dword [ebp - 0x42c], eax
call esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
push eax
push 0xe1
push 0x44be9c
lea eax, [ebp - 0x410]
push 0x44b900
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
call fcn.004135e0
test eax, eax
je 0x414470
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x414470
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x41c]
cmp dword [ebp - 0x414], 0
jne 0x414681
test ecx, ecx
je 0x414681
xor eax, eax
xor esi, esi
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x430], esi
shr ecx, 1
mov dword [ebp - 4], 2
je 0x4144f0
lea eax, [ebp - 0x425]
push eax
push ecx
lea ecx, [ebp - 0x438]
call fcn.004137d0
mov esi, dword [ebp - 0x430]
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x414], eax
nop
mov ecx, dword [ebp - 0x424]
cmp dword [ecx + 0x14], 8
jb 0x4144fe
mov ecx, dword [ecx]
lea edx, [ebp - 0x41c]
push edx
push eax
mov eax, dword [ebp - 0x418]
push 0
push 0
push ecx
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x418], eax
test eax, eax
je 0x414602
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x424], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x418]
push esi
push eax
push 0xe8
push 0x44be9c
lea eax, [ebp - 0x410]
push 0x44beac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x41458c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41458c
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi], 0
mov edx, dword [ebp - 0x414]
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
test edx, edx
je 0x4146a5
mov ecx, dword [ebp - 0x420]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4145f3
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4146c4
push ecx
push edx
call fcn.0042c7bf
add esp, 8
jmp 0x4146a5
mov edx, dword [ebp - 0x414]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x418], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414613
sub ecx, dword [ebp - 0x418]
sar ecx, 1
mov dword [edi], 0
push ecx
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov ecx, edi
push edx
mov word [edi], ax
mov byte [ebp - 4], 2
call fcn.0040ccc0
mov ecx, dword [ebp - 0x414]
test ecx, ecx
je 0x4146a5
sub esi, ecx
mov eax, ecx
and esi, 0xfffffffe
cmp esi, 0x1000
jb 0x414675
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4146c4
push esi
push ecx
call fcn.0042c7bf
add esp, 8
jmp 0x4146a5
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi], 0
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, edi
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.0042cc35
mov esp, ebp
pop ebp
ret 8
call fcn.00430d2f
int3