Function at 0x409c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4733cb
mov eax, dword fs:[0]
push eax
sub esp, 0x87c
mov eax, dword [0x495010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x828]
mov dword [ebp - 0x888], esi
push eax
mov dword [ebp - 0x87c], esi
call fcn.0040d090
add esp, 8
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x874]
push ecx
push 1
lea eax, [ebp - 0x828]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x828]
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x409d4b
mov dword [esi], 0
lea ecx, [ebp - 0x828]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x10], 1
mov word [esi], 0x31
call fcn.004074a0
jmp 0x409ec1
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0044e0e0
lea eax, [ebp - 0x870]
mov dword [ebp - 0x880], 0x400
push edi
push eax
mov dword [ebp - 0x878], 0
call fcn.0040d090
mov edi, eax
add esp, 0x14
lea eax, [ebp - 0x828]
cmp eax, edi
je 0x409e13
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x409dd2
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409dc8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a047
push edx
push ecx
call fcn.00411038
add esp, 8
mov dword [ebp - 0x818], 0
xor eax, eax
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x818], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x870]
call fcn.004074a0
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x880]
push ecx
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x878]
push ecx
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push 0
push eax
push dword [ebp - 0x874]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x409ede
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x10], 1
mov word [esi], 0x31
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x409ec1
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409eb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a042
push edx
push ecx
call fcn.00411038
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00410d89
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x878], 1
jne 0x409e5e
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.00401b40
cmp dword [ebp - 0x844], 8
lea edx, [ebp - 0x858]
mov eax, dword [ebp - 0x848]
lea edi, [ebp - 0x858]
cmovae edx, dword [ebp - 0x858]
lea ecx, [ebp - 0x840]
cmovae edi, dword [ebp - 0x858]
mov byte [ebp - 4], 1
mov dword [ebp - 0x840], 0
lea eax, [edx + eax*2]
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x87c], eax
sub eax, edi
sar eax, 1
push eax
mov dword [ebp - 0x82c], 0xf
call fcn.0040cb90
mov byte [ebp - 0x884], 0
lea ecx, [ebp - 0x840]
push dword [ebp - 0x884]
push dword [ebp - 0x87c]
push edi
call fcn.00401560
push dword [ebp - 0x874]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x888]
lea eax, [ebp - 0x840]
push eax
mov ecx, esi
mov dword [ebp - 0x874], 0
call fcn.00401a90
mov edx, dword [ebp - 0x82c]
cmp edx, 0x10
jb 0x409fde
mov ecx, dword [ebp - 0x840]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409fd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a042
push edx
push ecx
call fcn.00411038
add esp, 8
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0xf
mov byte [ebp - 0x840], 0
call fcn.004074a0
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x409ec1
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409eb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409eb7
call fcn.00453df0
call fcn.00453df0
int3