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

Disassembly:
push 0xffffffffffffffff
push 0x4abd46
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
push 0x206
lea eax, [esp + 0x3a]
push ebp
mov dword [esp + 0x250], ebp
push eax
mov word [esp + 0x40], 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 + 0x248], 1
mov eax, 0x427c90
xor ecx, ecx
mov dword [esi + 0x24], 0x69
mov dword [esi + 0x28], 0xcd
mov dword [esi + 0x2c], 0x131
mov dword [esi + 0x34], 0x195
mov dword [esi + 0x3c], 0x163
mov dword [esi + 0x30], 0x25d
mov dword [esi + 0x38], 0x1f9
mov dword [esi + 0x40], 0x389
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], ecx
mov eax, dword [0x4dbc88]
cmp dword [eax - 0xc], ebp
mov dword [esp + 0x28], 0x4b88e0
mov dword [esp + 0x2c], 0x4b8910
mov dword [esp + 0x30], 0x4b8864
jne 0x42b202
push 0x4b94e0
lea ebx, [ebp + 0x25]
lea eax, [esp + 0x1c]
call fcn.0040cfc0
jmp 0x42b214
push eax
push 0x4b952c
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 0x42b339
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
push ebp
push 0x4b7334
push edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], 0x208
call ebx
cmp eax, ebp
jne 0x42b339
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x42b283
cmp eax, 2
jne 0x42b339
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x42b2a1
test al, 1
jne 0x42b339
shr eax, 1
cmp word [esp + eax*2 + 0x32], bp
je 0x42b2a6
jmp 0x42b339
mov word [esp + 0x34], bp
push 3
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00429c10
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x42b339
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
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 0x42b339
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x42b2f0
cmp eax, 2
jne 0x42b339
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x42b307
test al, 1
jne 0x42b339
shr eax, 1
cmp word [esp + eax*2 + 0x32], bp
je 0x42b30c
jmp 0x42b339
mov word [esp + 0x34], bp
lea ecx, [esp + 0x34]
lea eax, [esi + 0x6c]
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x42b316
sub ecx, edi
sar ecx, 1
lea edx, [esp + 0x34]
push edx
mov ebx, ecx
call fcn.0040cfc0
mov dword [esi], 1
xor ebp, ebp
mov byte [esp + 0x248], 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 0x42b361
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 0x42b370
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00488fa3
add esp, 0x23c
ret