Function at 0x419320
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c6cc1
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x47c], eax
push ebx
push esi
push edi
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x490]
mov dword fs:[0], eax
mov cl, 0xa3
xor eax, eax
mov bl, 0xf1
mov word [esp + 0x7c], ax
mov al, 0x94
mov dl, 0xc7
mov byte [esp + 0x52], bl
mov byte [esp + 0x62], bl
xor ebx, ebx
push 0x1e
mov dword [esp + 0x1c], 0x104
mov byte [esp + 0x4c], 0xfd
mov byte [esp + 0x4d], al
mov byte [esp + 0x4e], 0xff
mov byte [esp + 0x4f], cl
mov byte [esp + 0x50], 0xc8
mov byte [esp + 0x51], al
mov byte [esp + 0x52], 0xe4
mov byte [esp + 0x53], cl
mov byte [esp + 0x54], 0xd9
mov byte [esp + 0x55], al
mov byte [esp + 0x57], cl
mov byte [esp + 0x58], 0xdc
mov byte [esp + 0x59], al
mov byte [esp + 0x5a], 0xf5
mov byte [esp + 0x5b], cl
mov byte [esp + 0x5c], 0xf2
mov byte [esp + 0x5d], al
mov byte [esp + 0x5e], 0xc9
mov byte [esp + 0x5f], cl
mov byte [esp + 0x60], dl
mov byte [esp + 0x61], al
mov byte [esp + 0x62], 0xf4
mov byte [esp + 0x63], cl
mov byte [esp + 0x64], dl
mov byte [esp + 0x65], al
mov byte [esp + 0x67], cl
mov byte [esp + 0x68], 0xc0
mov byte [esp + 0x69], al
mov byte [esp + 0x48], 0xe
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], 0x1e
call fcn.004a41a8
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, ebx
je 0x41942d
push 0x1e
lea ecx, [esp + 0x4c]
push ecx
push eax
call fcn.004a7010
add esp, 0xc
mov dword [esp + 0x498], ebx
mov cl, 0xb4
mov al, 0xc3
push 0x14
mov byte [esp + 0x6c], 0x87
mov byte [esp + 0x6d], cl
mov byte [esp + 0x6e], 0xde
mov byte [esp + 0x6f], al
mov byte [esp + 0x70], 0xbd
mov byte [esp + 0x71], cl
mov byte [esp + 0x72], 0xc4
mov byte [esp + 0x73], al
mov byte [esp + 0x74], 0xaf
mov byte [esp + 0x75], cl
mov byte [esp + 0x76], 0xdc
mov byte [esp + 0x77], al
mov byte [esp + 0x78], 0xa2
mov byte [esp + 0x79], cl
mov byte [esp + 0x7a], 0xf4
mov byte [esp + 0x7b], al
mov byte [esp + 0x7c], 0xa7
mov byte [esp + 0x7d], cl
mov byte [esp + 0x7e], 0xc2
mov byte [esp + 0x7f], al
mov byte [esp + 0x34], 0x2e
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], 0x14
call fcn.004a41a8
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x4194db
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [eax], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
lea esi, [esp + 0x20]
mov byte [esp + 0x498], 1
call fcn.004215e0
lea esi, [esp + 0x34]
mov edi, eax
call fcn.004215e0
lea ecx, [esp + 0x14]
push ecx
push 1
push ebx
push eax
push reloc.WS2_32.dll_accept
mov byte [esp + 0x27], bl
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419689
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x419689
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push edi
push eax
mov dword [esp + 0x34], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419553
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x13], bl
je 0x419689
cmp word [esp + 0x7c], bx
je 0x419689
cmp dword [esp + 0x18], ebx
je 0x419689
mov al, 0x96
mov cl, 0xa5
mov dl, 0xd5
push 0x1a
mov byte [esp + 0x4c], 0x95
mov byte [esp + 0x4d], al
mov byte [esp + 0x4e], 0xe1
mov byte [esp + 0x4f], cl
mov byte [esp + 0x50], 0xec
mov byte [esp + 0x51], al
mov byte [esp + 0x52], 0xcb
mov byte [esp + 0x53], cl
mov byte [esp + 0x54], 0xd9
mov byte [esp + 0x55], al
mov byte [esp + 0x56], 0xf6
mov byte [esp + 0x57], cl
mov byte [esp + 0x58], 0xd9
mov byte [esp + 0x59], al
mov byte [esp + 0x5a], 0xf3
mov byte [esp + 0x5b], cl
mov byte [esp + 0x5c], 0xde
mov byte [esp + 0x5d], al
mov byte [esp + 0x5e], 0xbc
mov byte [esp + 0x5f], cl
mov byte [esp + 0x60], dl
mov byte [esp + 0x61], al
mov byte [esp + 0x62], 0xea
mov byte [esp + 0x63], cl
mov byte [esp + 0x64], dl
mov byte [esp + 0x65], al
mov byte [esp + 0x7c], 0x10
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x78], 0x1a
call fcn.004a41a8
add esp, 4
mov dword [esp + 0x70], eax
cmp eax, ebx
je 0x41962d
push 0x1a
lea ecx, [esp + 0x4c]
push ecx
push eax
call fcn.004a7010
add esp, 0xc
lea edx, [esp + 0x7c]
push edx
lea esi, [esp + 0x6c]
mov byte [esp + 0x49c], 2
call fcn.004215e0
push eax
mov ecx, 0x103
lea ebx, [esp + 0x28c]
call fcn.00417580
mov eax, ebx
push eax
call fcn.00418af0
xor ecx, ecx
add esp, 0xc
test al, al
setne cl
inc ecx
mov esi, ecx
lea ecx, [esp + 0x68]
call fcn.00421580
lea ecx, [esp + 0x20]
call fcn.00421580
lea ecx, [esp + 0x34]
call fcn.00421580
mov eax, esi
jmp 0x41969d
lea ecx, [esp + 0x20]
call fcn.00421580
lea ecx, [esp + 0x34]
call fcn.00421580
xor eax, eax
mov ecx, dword [esp + 0x490]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x47c]
xor ecx, esp
call fcn.004a4a25
add esp, 0x48c
ret