Function at 0x42bb80
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4abcf6
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
push 0x206
lea eax, [esp + 0x32]
push ebp
mov dword [esp + 0x248], ebp
push eax
mov word [esp + 0x38], bp
call int.0048bd10
mov edx, dword [0x4da734]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x4da734
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x240], 1
mov eax, 0x427c90
xor ecx, ecx
mov dword [esi + 0x24], 0x6c
mov dword [esi + 0x28], 0xd0
mov dword [esi + 0x2c], 0x133
mov dword [esi + 0x34], 0x197
mov dword [esi + 0x3c], 0x165
mov dword [esi + 0x30], 0x25f
mov dword [esi + 0x38], 0x1fb
mov dword [esi + 0x40], 0x38b
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], ecx
mov eax, dword [0x4dbc88]
cmp dword [eax - 0xc], ebp
mov dword [esp + 0x20], 0x4b95ac
jne 0x42bc72
push 0x4b95b8
lea ebx, [ebp + 0x2a]
lea eax, [esp + 0x1c]
call fcn.0040cfc0
jmp 0x42bc84
push eax
push 0x4b9610
lea edi, [esp + 0x20]
call fcn.0040e820
add esp, 8
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebp
push edx
push 0x80000002
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x42bda9
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
push ebp
push 0x4b7334
push edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], 0x208
call ebx
cmp eax, ebp
jne 0x42bda9
mov eax, dword [esp + 0x28]
cmp eax, 1
je 0x42bcf3
cmp eax, 2
jne 0x42bda9
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x42bd11
test al, 1
jne 0x42bda9
shr eax, 1
cmp word [esp + eax*2 + 0x2a], bp
je 0x42bd16
jmp 0x42bda9
mov word [esp + 0x2c], bp
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
call fcn.00429c10
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x42bda9
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
push ebp
push 0x4b943c
push edi
mov dword [esp + 0x2c], 0x208
call ebx
cmp eax, ebp
jne 0x42bda9
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x42bd60
cmp eax, 2
jne 0x42bda9
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x42bd77
test al, 1
jne 0x42bda9
shr eax, 1
cmp word [esp + eax*2 + 0x2a], bp
je 0x42bd7c
jmp 0x42bda9
mov word [esp + 0x2c], bp
lea ecx, [esp + 0x2c]
lea eax, [esi + 0x6c]
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x42bd86
sub ecx, edi
sar ecx, 1
lea edx, [esp + 0x2c]
push edx
mov ebx, ecx
call fcn.0040cfc0
mov dword [esi], 1
xor ebp, ebp
mov byte [esp + 0x240], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bdd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x42bde0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00488fa3
add esp, 0x234
ret