Function at 0x44d3ab
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 8], eax
xor ecx, ecx
push ebx
push edi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ecx
cmp dword [esi + 0x28], ecx
je 0x44d63c
cmp dword [esi + 0x24], ecx
je 0x44d63c
cmp dword [ebp + 8], ecx
je 0x44d3f4
cmp dword [esi + 0x38], ecx
je 0x44d3f1
push dword [esi + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [esi + 0x38], ecx
lea edi, [esi + 0x38]
cmp dword [edi], ecx
jne 0x44d638
push ecx
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push ecx
push 0x2001f
push ecx
push ecx
push ecx
push 0x404210
push 0x80000000
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ecx
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44d626
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
mov eax, esi
call fcn.0044d217
test eax, eax
mov eax, 0x4045fc
jne 0x44d44b
mov eax, 0x404488
xor edx, edx
push edx
lea ecx, reloc.ADVAPI32.dll_TraceMessage
push ecx
push edx
push 0x2001f
push edx
push edx
push edx
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44d616
push dword [esi + 0x24]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
push dword [esi + 0x28]
mov eax, 0xff
push 0x41ff9c
lea ecx, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c95b
add esp, 0xc
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push edi
xor eax, eax
push eax
push 0x2001f
push eax
push eax
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44d60a
xor ebx, ebx
inc ebx
cmp dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 2
jne 0x44d587
xor ecx, ecx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ebx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0x200
cmp dword [esi + 0x20], ecx
je 0x44d58a
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push ecx
push 0x4019ec
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44d58a
cmp dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ebx
jne 0x44d58a
fldz
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
fst qword [ebp - 0x22c]
lea eax, reloc.ADVAPI32.dll_TraceMessage
fstp qword [ebp - 0x234]
push 0x41d680
push eax
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0xc
test eax, eax
je 0x44d58a
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x41d680
push dword [esi + 0x20]
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0xc
test eax, eax
je 0x44d58a
fld qword [ebp - 0x234]
fcomp qword [ebp - 0x22c]
fnstsw ax
test ah, 0x41
je 0x44d580
mov eax, ebx
jmp 0x44d582
xor eax, eax
mov dword [esi + 0x14], eax
jmp 0x44d58a
mov dword [esi + 0x14], ebx
mov edx, dword [esi + 0x20]
test edx, edx
je 0x44d5cb
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x220]
jne 0x44d59c
sub ecx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 0x4019ec
push dword [edi]
push dword [esi + 0x14]
call fcn.00444422
mov edx, dword [esi + 0x18]
test edx, edx
je 0x44d60a
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x220]
jne 0x44d5dd
sub ecx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
xor eax, eax
push eax
push dword [edi]
push dword [esi + 0x14]
call fcn.00444422
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x44d638
cmp dword [edi], 0
je 0x44d638
push dword [edi]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void__]
xor eax, eax
pop ecx
mov dword [edi], eax
mov eax, dword [edi]
jmp 0x44d649
push 0x8000ffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop ebx
call fcn.004655f1
leave
ret 4