Function at 0x417b40
Capabilities:
Encode data using xor
Hash data using fnv
Print debug messages
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554f61
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5ab3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
mov esi, dword [ebp + 8]
push 0
push 0
push 0
push 0
push ecx
push 0
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x70], esi
push ecx
push 0
push 0
push 0
mov dword [ebp - 0x4c], 0
push dword [eax]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x50], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], 1
test eax, eax
jne 0x417ee7
push 0x400
call fcn.004dfb6f
mov edi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x2c], eax
jbe 0x417ee7
lea esi, [ebx + 0x4c]
mov dword [ebp - 0x68], esi
push 0x200
push edi
push eax
mov eax, dword [ebp - 0x50]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ecx, edi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417c31
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00429470
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
push 0x58a9a0
call edi
push esi
call fcn.0045f78c
add esp, 4
test eax, eax
je 0x417c82
push eax
call fcn.0045ea8b
add esp, 4
mov byte [ebp - 4], 2
mov edi, dword [ebx + 0x180]
mov eax, dword [ebx + 0x184]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], eax
cmp edi, eax
je 0x417e7c
lea ebx, [edi + 0x44]
mov esi, eax
mov dword [ebp - 0x40], ebx
nop dword [eax + eax]
cmp byte [ebx + 0x70], 0
jne 0x417e5c
mov eax, dword [ebx + 0x6c]
cmp dword [ebp + 0x10], eax
je 0x417cca
test eax, eax
jne 0x417e5c
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov eax, dword [ebx - 4]
lea ecx, [ebx - 0x14]
cmovae edx, dword [ebp - 0x28]
cmp dword [ebx], 8
jb 0x417ce2
mov ecx, dword [ecx]
cmp eax, dword [ebp - 0x18]
jne 0x417e5c
push eax
call fcn.00429960
add esp, 4
test eax, eax
jne 0x417e5c
mov edi, dword [ebp - 0x38]
add edi, 0x7c
push edi
mov dword [ebp - 0x74], edi
call fcn.0045f78c
add esp, 4
test eax, eax
je 0x417d1b
push eax
call fcn.0045ea8b
add esp, 4
mov byte [ebp - 4], 3
lea esi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov edx, 0x811c9dc5
cmp dword [ebp - 0x14], 8
cmovae esi, dword [ebp - 0x28]
lea ebx, [eax + eax]
xor eax, eax
test ebx, ebx
je 0x417d51
nop dword [eax + eax]
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, ebx
jb 0x417d40
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x1a4]
and eax, edx
mov edx, dword [ecx + 0x198]
mov dword [ebp - 0x5c], edx
mov ecx, dword [edx + eax*8]
lea ebx, [eax*8 + 4]
mov eax, dword [ebp - 0x38]
mov esi, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x60], ebx
mov eax, dword [eax + 0x190]
mov dword [ebp - 0x54], eax
cmp ecx, eax
je 0x417d8c
mov eax, dword [ebx + edx]
mov eax, dword [eax]
cmp esi, eax
je 0x417e0f
cmp dword [ebp - 0x14], 8
lea ebx, [esi + 8]
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
mov ecx, ebx
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x64], eax
jb 0x417db2
mov ecx, dword [ebx]
cmp eax, dword [ebp - 0x18]
jne 0x417dc4
push eax
call fcn.00429960
add esp, 4
test eax, eax
je 0x417dd4
mov esi, dword [esi]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x60]
jmp 0x417d83
cmp dword [ebx + 0x14], 8
jb 0x417ddc
mov ebx, dword [ebx]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x64]
jne 0x417e0f
push eax
mov edx, ebx
call fcn.00429960
add esp, 4
test eax, eax
jne 0x417e0f
mov eax, dword [ebp - 0x38]
cmp esi, dword [eax + 0x190]
je 0x417e0f
mov byte [ebp - 4], 4
jmp 0x417e39
mov ebx, dword [ebp - 0x48]
push dword [ebp - 0x34]
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x417e2d
mov ecx, eax
call fcn.0041a350
add dword [ebx + 4], 0xb8
jmp 0x417e35
push eax
mov ecx, ebx
call fcn.0042ce90
mov byte [ebp - 4], 5
push edi
call fcn.0045f7b1
add esp, 4
test eax, eax
je 0x417e4f
push eax
call fcn.0045ea8b
add esp, 4
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x40]
mov byte [ebp - 4], 2
add edi, 0xb8
add ebx, 0xb8
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], ebx
cmp edi, esi
jne 0x417cb0
mov esi, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x38]
push esi
mov byte [ebp - 4], 6
call fcn.0045f7b1
add esp, 4
test eax, eax
je 0x417e96
push eax
call fcn.0045ea8b
add esp, 4
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x417ed0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417ec6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417f07
push edx
push ecx
call fcn.004dfb61
add esp, 8
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp eax, dword [ebp - 0x2c]
jae 0x417ee4
mov edi, dword [ebp - 0x6c]
jmp 0x417c06
mov esi, dword [ebp - 0x48]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df59c
mov esp, ebp
pop ebp
ret 0xc
call fcn.0052430b
int3