Function at 0x41e830
Capabilities:
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447828
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x45c070]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x60], ebx
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x60], 1
mov edx, dword [0x45d530]
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push edx
push ebx
push eax
mov eax, dword [ebp + 8]
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41e910
mov edi, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x40]
push ecx
push ebx
push ebx
push ebx
push edi
mov dword [esp + 0x78], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x41e945
add esi, 0xfffffff0
mov byte [esp + 0x60], bl
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41e8f0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp edi, ebx
je 0x41e8fb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi - 0x10]
mov byte [esp + 0x60], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e930
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x24], ebx
jbe 0x41eb43
jmp 0x41e960
mov dword [esp + 0x28], 0x104
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x105
or eax, ecx
jge 0x41e98e
mov ecx, 0x105
lea eax, [esp + 0x14]
call fcn.00403650
mov esi, dword [esp + 0x14]
mov eax, 0x105
cmp dword [esi - 8], eax
jl 0x41eb86
lea edx, [esp + 0x34]
push edx
push ebx
push ebx
push ebx
mov dword [esi - 0xc], eax
xor ecx, ecx
lea eax, [esp + 0x38]
push eax
mov word [esi + 0x20a], cx
mov ecx, dword [esp + 0x30]
push esi
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e9c7
sub eax, edx
sar eax, 1
cmp eax, ebx
jl 0x41eb86
cmp eax, dword [esi - 8]
jg 0x41eb86
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ebx, 0x451924
call fcn.00406e70
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x38]
push ecx
mov ebx, eax
mov byte [esp + 0x70], 2
call fcn.0040bd10
add esp, 0x10
mov byte [esp + 0x60], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea ebx, [esi - 0x10]
cmp eax, ebx
je 0x41ea74
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x41ea62
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x41ea62
call fcn.00403230
mov edi, eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x41ea59
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
lea esi, [edi + 0x10]
mov dword [esp + 0x14], esi
jmp 0x41ea74
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x18]
push ecx
call fcn.004036c0
mov esi, dword [esp + 0x14]
mov byte [esp + 0x60], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ea99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eabe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov eax, dword [ebp + 8]
mov byte [esp + 0x60], 4
mov edx, dword [0x45d530]
lea ecx, [esp + 0x20]
push ecx
push edx
push edi
push esi
push eax
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x41eb16
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x10]
push edx
push eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push edx
push eax
call fcn.0041a0f0
mov ebx, dword [esp + 0x3c]
mov byte [esp + 0x60], 1
cmp ebx, edi
je 0x41eb2a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
inc eax
xor ebx, ebx
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x24]
jb 0x41e960
lea eax, [esi - 0x10]
mov byte [esp + 0x60], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eb63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
je 0x41eb6e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004036a0
int3