Function at 0x44e48a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bacfa
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x4f9004]
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 eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x354], eax
mov eax, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x34c], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00402780
add esp, 0xc
mov dword [ebp - 0x350], 0
cmp dword [ebx + 0x14], 8
mov edi, ebx
jb 0x44e4fd
mov edi, dword [ebx]
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x44e5a5
push 0x100
lea eax, [ebp - 0x348]
push 0
push eax
call fcn.00402780
add esp, 0xc
lea ecx, [ebp - 0x348]
dec esi
push 0x4c5936
push 0x4c5934
call fcn.0040eba0
test al, al
jne 0x44e576
or eax, 0xffffffff
cmp esi, eax
cmovb eax, esi
lea esi, [edi + eax*2]
lea esp, [esp]
movzx edx, word [esi]
mov ecx, 1
mov eax, 0x4c5934
lea ecx, [ecx]
cmp word [eax], dx
je 0x44e570
add eax, 2
sub ecx, 1
jne 0x44e55a
cmp esi, edi
je 0x44e5a5
sub esi, 2
jmp 0x44e54a
sub esi, edi
sar esi, 1
jmp 0x44e5a8
or eax, 0xffffffff
mov ecx, 0x100
cmp esi, eax
cmovb eax, esi
lea esi, [edi + eax*2]
lea esp, [esp]
movzx eax, word [esi]
cmp ax, cx
jae 0x44e59c
cmp byte [ebp + eax - 0x348], 0
jne 0x44e570
cmp esi, edi
je 0x44e5a5
sub esi, 2
jmp 0x44e58a
or esi, 0xffffffff
xor eax, eax
mov dword [ebp - 0x238], 0
cmp dword [ebx + 0x10], esi
mov ecx, ebx
mov word [ebp - 0x248], ax
mov eax, esi
cmovb eax, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x234], 7
jb 0x44e5d8
mov ecx, dword [ebx]
push eax
push ecx
lea ecx, [ebp - 0x248]
call fcn.004057cc
mov ecx, dword [ebx + 0x10]
xor edx, edx
mov eax, ecx
mov dword [ebp - 4], 0
sub eax, esi
mov dword [ebp - 0x220], 0
inc esi
mov dword [ebp - 0x21c], 7
dec eax
mov word [ebp - 0x230], dx
cmp ecx, esi
jb 0x44e7b0
sub ecx, esi
cmp ecx, eax
cmovb eax, ecx
cmp dword [ebx + 0x14], 8
jb 0x44e629
mov ebx, dword [ebx]
push eax
lea eax, [ebx + esi*2]
push eax
lea ecx, [ebp - 0x230]
call fcn.004057cc
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x350]
push ecx
push 0x20019
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x248]
push 0
push eax
push dword [ebp - 0x34c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44e6b9
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x34c]
push ecx
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x34c], 0x208
push ecx
push 0
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push dword [ebp - 0x350]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x350]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x354]
lea ecx, [ebp - 0x218]
xor eax, eax
lea edx, [ecx + 2]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44e6db
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.004057cc
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x44e739
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e72f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e7b5
push edx
push ecx
call fcn.0040660b
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x44e792
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e788
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e7b5
push edx
push ecx
call fcn.0040660b
add esp, 8
mov eax, ebx
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.00402c9b
mov esp, ebp
pop ebp
ret
call fcn.00427995
call fcn.0047c5cb
int3