Function at 0x44f300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e503d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x660ff8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x14]
xor bl, bl
mov byte [ebp - 0x11], bl
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
lea edx, [eax - 0x10]
mov edi, dword [edx]
je 0x44f383
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x44f363
cmp dword [eax - 8], 0
jl 0x44f5e1
mov dword [eax - 0xc], 0
xor ecx, ecx
mov eax, dword [esi]
mov word [eax], cx
jmp 0x44f383
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x44f377
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x44f5cb
mov eax, dword [ebp + 0xc]
mov esi, ecx
test eax, eax
je 0x44f3c5
cmp word [eax], 0
je 0x44f3c5
lea edx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push edx
push 0x20019
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44f3c5
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0x3e8
mov byte [ebp - 4], 1
call fcn.0048593a
add esp, 4
mov edi, eax
push 0x3e8
push 0
push edi
call fcn.005b4d50
add esp, 0xc
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x7d0
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
push eax
push edi
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44f4a6
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x44f435
cmp eax, 2
jne 0x44f4a6
test edi, edi
je 0x44f496
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44f491
test al, 1
jne 0x44f44e
shr eax, 1
cmp word [edi + eax*2 - 2], 0
je 0x44f496
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44f4dc
cmp dword [ebp - 0x18], 4
jne 0x44f4dc
push dword [ebp - 0x1c]
push 0x633d7c
push dword [ebp + 0x14]
call fcn.00439910
add esp, 0xc
mov bl, 1
jmp 0x44f569
xor eax, eax
mov word [edi], ax
mov ecx, dword [ebp + 0x14]
push edi
call fcn.0040d8d0
mov bl, 1
jmp 0x44f569
test edi, edi
jne 0x44f44e
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], edi
push eax
push edi
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44f44e
cmp dword [ebp - 0x18], 7
jne 0x44f44e
mov ecx, dword [ebp + 0x14]
push edi
call fcn.0040d8d0
mov bl, 1
jmp 0x44f569
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 8
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44f51f
cmp dword [ebp - 0x18], 0xb
jne 0x44f51f
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push str._I64
push dword [ebp + 0x14]
call fcn.00439910
add esp, 0x10
mov bl, 1
jmp 0x44f569
call fcn.0041c750
cmp dword [eax + 4], 1
jl 0x44f569
call fcn.0041c750
push 1
mov ecx, eax
call fcn.0041c8c0
mov dword [ebp + 0x14], eax
call fcn.0041c750
mov edx, dword [ebp + 0x14]
mov ecx, eax
call fcn.004133c0
mov edx, str.Cant_handle_Registry_value_for:
mov ecx, eax
call fcn.00412eb0
mov edx, dword [ebp + 0x10]
mov ecx, eax
call fcn.00412eb0
push eax
call fcn.004141e0
add esp, 4
push edi
call fcn.00485943
add esp, 4
cmp esi, dword [ebp + 8]
je 0x44f5cb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44f5cb
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.00402449
int3