Function at 0x44ce37
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2ac
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov ecx, dword [ebx + 0x34]
xor edi, edi
inc edi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ebx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
test ecx, ecx
je 0x44d201
push 0x3a
pop eax
push 2
cmp ax, word [ecx + 2]
jne 0x44d031
lea edx, [ecx + 2]
pop ebx
mov ax, word [ecx]
add ecx, ebx
cmp ax, si
jne 0x44ce98
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
mov esi, eax
mov eax, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
mov edx, dword [eax + 0x34]
movzx eax, word [edx]
pop ecx
cmp eax, 0x52
je 0x44cede
cmp eax, 0x72
jne 0x44d1f5
test esi, esi
je 0x44d201
mov eax, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
add edx, 4
call fcn.0042c88c
push 0x2c
push esi
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x44d1f5
xor ecx, ecx
mov word [eax], cx
add eax, ebx
push 0x2c
push eax
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ecx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
call dword [sym.imp.msvcrt.dll_wcschr]
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x44cf58
xor eax, eax
mov word [edi], ax
add edi, ebx
push 0x2c
push edi
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x44cf58
xor ecx, ecx
mov word [eax], cx
add eax, 2
call fcn.0044060c
mov ebx, eax
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], edx
jmp 0x44cf5e
mov ebx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
push 0x4040a0
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x44cf77
mov eax, 0x80000002
jmp 0x44cf82
push esi
mov eax, 0x80000000
call fcn.00444485
lea ecx, reloc.ADVAPI32.dll_TraceMessage
push ecx
push 1
xor ecx, ecx
push ecx
push dword [ebp - 0x294]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44d008
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
xor eax, eax
push eax
push edi
push dword [ebp - 0x29c]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 1
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44cffc
cmp dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 1
jne 0x44cffc
lea eax, reloc.ADVAPI32.dll_TraceMessage
call fcn.0044060c
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], edx
push dword [ebp - 0x29c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
cmp dword [ebp - reloc.ADVAPI32.dll_TraceMessage], edx
ja 0x44d028
jb 0x44d1ee
cmp ebx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
jbe 0x44d1ee
xor eax, eax
mov edi, eax
jmp 0x44d1f5
lea esi, [ecx + 2]
pop edx
mov ax, word [ecx]
add ecx, edx
cmp ax, word [ebp - 0x294]
jne 0x44d035
sub ecx, esi
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
mov esi, eax
pop ecx
test esi, esi
je 0x44d201
mov edx, dword [ebx + 0x34]
xor eax, eax
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
mov eax, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
call fcn.0042c88c
push 0x3a
push esi
call dword [sym.imp.msvcrt.dll_wcschr]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x44d0a2
xor eax, eax
mov word [ebx], ax
add ebx, 2
mov eax, esi
call fcn.0044060c
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], edx
test ebx, ebx
je 0x44d0cf
push 0x41ff94
push ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x44d1f5
xor eax, eax
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
call fcn.00441544
mov ebx, 0x104
test eax, eax
je 0x44d116
lea eax, reloc.ADVAPI32.dll_TraceMessage
test eax, eax
je 0x44d0f8
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x402d60
mov eax, ebx
lea edi, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c8f1
mov eax, edi
push eax
call fcn.00440bc3
test eax, eax
jne 0x44d146
push ebx
lea ecx, reloc.ADVAPI32.dll_TraceMessage
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x44d1a3
push 0x41d594
mov eax, ebx
lea edi, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c8f1
mov eax, edi
push eax
call fcn.00440bc3
test eax, eax
je 0x44d1a3
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea edx, reloc.ADVAPI32.dll_TraceMessage
lea ecx, reloc.ADVAPI32.dll_TraceMessage
call fcn.00441bda
test eax, eax
js 0x44d1a3
mov ecx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
push 0x41d104
mov eax, 0x103
lea ecx, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c95b
add esp, 0x14
lea eax, reloc.ADVAPI32.dll_TraceMessage
call fcn.0044060c
jmp 0x44d1ab
mov edx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
mov eax, edx
cmp edx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
jb 0x44d1c1
ja 0x44d1ee
mov ebx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
cmp eax, ebx
jb 0x44d1c7
jmp 0x44d1ee
mov ebx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
xor eax, eax
mov edi, eax
mov eax, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x44d1f5
mov eax, dword [eax + 0x24]
call fcn.0044060c
cmp edx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
jb 0x44d1f3
ja 0x44d1ee
cmp eax, ebx
jb 0x44d1f3
xor edi, edi
inc edi
jmp 0x44d1f5
xor eax, eax
test esi, esi
je 0x44d201
push esi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004655f1
leave
ret