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

Disassembly:
push 0xffffffffffffffff
push 0x4abe26
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 + 0x18], ebp
mov dword [esp + 0x20], 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 + 0x14], eax
mov byte [esp + 0x240], 1
mov eax, 0x427c90
xor ecx, ecx
mov dword [esi + 0x24], 0x66
mov dword [esi + 0x28], 0xca
mov dword [esi + 0x2c], 0x12e
mov dword [esi + 0x34], 0x192
mov dword [esi + 0x3c], 0x160
mov dword [esi + 0x30], 0x25a
mov dword [esi + 0x38], 0x1f6
mov dword [esi + 0x40], 0x386
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], ecx
mov eax, dword [0x4dbc88]
cmp dword [eax - 0xc], ebp
mov dword [esp + 0x24], 0x4b8864
mov dword [esp + 0x28], 0x4b8804
jne 0x42b73a
push 0x4b7350
lea ebx, [ebp + 0x23]
lea eax, [esp + 0x18]
call fcn.0040cfc0
jmp 0x42b74c
push eax
push 0x4b7398
lea edi, [esp + 0x1c]
call fcn.0040e820
add esp, 8
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push ebp
push edx
push 0x80000002
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x42b875
mov edi, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push 0x4b7334
push edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], 0x208
call ebx
cmp eax, ebp
jne 0x42b875
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x42b7bb
cmp eax, 2
jne 0x42b875
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42b7d9
test al, 1
jne 0x42b875
shr eax, 1
cmp word [esp + eax*2 + 0x2a], bp
je 0x42b7de
jmp 0x42b875
mov word [esp + 0x2c], bp
push 2
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
call fcn.00429c10
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x42b875
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
push eax
push ebp
push 0x4b943c
push edi
mov dword [esp + 0x28], 0x208
call ebx
cmp eax, ebp
jne 0x42b875
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x42b82c
cmp eax, 2
jne 0x42b875
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42b843
test al, 1
jne 0x42b875
shr eax, 1
cmp word [esp + eax*2 + 0x2a], bp
je 0x42b848
jmp 0x42b875
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 0x42b852
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 + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b89d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x42b8ac
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
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