Function at 0x426890
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a3ec1
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4d16b0]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d16b0]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov eax, dword [esp + 0x284]
mov ebp, dword [esp + 0x288]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebx
push 0x20a
lea ecx, [esp + 0x6a]
push ebx
mov dword [esp + 0x284], ebx
push ecx
mov word [esp + 0x70], bx
call fcn.004854b0
mov edi, 0x104
add esp, 0xc
mov dword [esp + 0x24], edi
call fcn.004262f0
test eax, eax
jne 0x4269d4
call fcn.00426390
test eax, eax
jne 0x4269d4
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push esi
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426b94
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
push edx
push ebx
push eax
push ecx
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42698a
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x426b94
cmp ebp, ebx
je 0x4269bb
push edi
lea eax, [esp + 0x68]
push eax
push ebp
call fcn.00480ce8
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [esp + 0x14]
call fcn.00418a70
mov eax, 1
jmp 0x426b96
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [esp + 0x14]
call fcn.00418a70
jmp 0x426b94
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27c], 1
call fcn.00426410
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x284], 2
call fcn.00409800
mov edi, 8
mov byte [esp + 0x27c], 1
cmp dword [esp + 0x44], edi
jb 0x426a2a
mov eax, dword [esp + 0x30]
push eax
call fcn.0047f45b
add esp, 4
push 1
push 0x4ba834
lea ecx, [esp + 0x50]
call fcn.0041c6c0
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x426a40
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x50]
call fcn.0041c6c0
cmp dword [esp + 0x60], edi
mov eax, dword [esp + 0x4c]
jae 0x426a68
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebx
push eax
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x426b81
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
push edx
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x2c]
lea esi, [esp + 0x6c]
mov dword [esp + 0x1c], ebp
call fcn.004261a0
test eax, eax
je 0x426ae7
cmp dword [esp + 0x60], 8
jb 0x426ac2
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0047f45b
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
je 0x426b94
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x426b94
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x426b44
push 0x103
lea edx, [esp + 0x68]
push edx
push eax
call fcn.00480ce8
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
cmp ebp, ebx
je 0x426b11
push ebp
call esi
xor ebp, ebp
cmp dword [esp + 0x60], 8
jb 0x426b25
mov eax, dword [esp + 0x4c]
push eax
call fcn.0047f45b
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
je 0x426b3d
push ebp
call esi
mov eax, 1
jmp 0x426b96
cmp ebp, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x426b53
push ebp
call esi
xor ebp, ebp
cmp dword [esp + 0x60], 8
jb 0x426b67
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0047f45b
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
je 0x426b94
push ebp
call esi
jmp 0x426b94
cmp dword [esp + 0x60], edi
jb 0x426b94
mov edx, dword [esp + 0x4c]
push edx
call fcn.0047f45b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.0047f460
add esp, 0x26c
ret