Function at 0x446870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d1d1
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4aa6e8]
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 edi, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x25c], esi
xor eax, eax
push 0x20a
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 4], esi
call fcn.00426af0
add esp, 0xc
mov dword [ebp - 0x268], 0x104
call fcn.004463d0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4469b0
call fcn.00446470
test eax, eax
jne 0x4469b0
lea eax, [ebp - 0x250]
push eax
push 0x20019
push esi
push dword [ebp - 0x254]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446b3f
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x26c]
push eax
push esi
push dword [ebp - 0x258]
mov dword [ebp - 0x26c], 1
push dword [ebp - 0x250]
mov dword [ebp - 0x254], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x446985
push dword [ebp - 0x250]
call ebx
jmp 0x446b3f
test edi, edi
je 0x446978
push 0x104
lea eax, [ebp - 0x21c]
push eax
push edi
call fcn.0045270e
add esp, 0xc
push dword [ebp - 0x250]
call ebx
mov edi, 1
jmp 0x446b41
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov edx, dword [ebp - 0x254]
mov byte [ebp - 4], 1
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], eax
mov word [ebp - 0x24c], ax
cmp word [edx], ax
jne 0x4469f7
xor ecx, ecx
jmp 0x446a0f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446a00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24c]
call fcn.0040d830
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 2
call fcn.004461f0
add esp, 8
cmp dword [ebp - 0x238], 8
mov esi, eax
mov byte [ebp - 4], 1
jb 0x446a53
push dword [ebp - 0x24c]
call fcn.00421634
add esp, 4
xor eax, eax
cmp dword [ebp - 0x220], 8
mov word [ebp - 0x24c], ax
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push 0x2001f
push eax
push esi
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
call fcn.00446510
test eax, eax
jne 0x446b22
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x258]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x264]
call fcn.004465c0
test eax, eax
je 0x446ac9
mov esi, dword [ebp - 0x264]
jmp 0x446b07
test edi, edi
je 0x446af8
push 0x103
lea eax, [ebp - 0x21c]
push eax
push edi
call fcn.0045270e
mov esi, dword [ebp - 0x264]
add esp, 0xc
test esi, esi
je 0x446af1
push esi
call ebx
xor esi, esi
mov edi, 1
jmp 0x446b09
mov esi, dword [ebp - 0x264]
test esi, esi
je 0x446b07
push esi
call ebx
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x220], 8
jb 0x446b41
push dword [ebp - 0x234]
call fcn.00421634
add esp, 4
jmp 0x446b41
cmp dword [ebp - 0x220], 8
jb 0x446b39
push dword [ebp - 0x234]
call fcn.00421634
add esp, 4
mov esi, dword [ebp - 0x264]
xor edi, edi
test esi, esi
je 0x446b48
push esi
call ebx
mov eax, edi
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.00421639
mov esp, ebp
pop ebp
ret