Function at 0x42a8e0
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], 0x68
mov dword [esi + 0x28], 0xcc
mov dword [esi + 0x2c], 0x130
mov dword [esi + 0x34], 0x194
mov dword [esi + 0x3c], 0x162
mov dword [esi + 0x30], 0x25c
mov dword [esi + 0x38], 0x1f8
mov dword [esi + 0x40], 0x388
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], ecx
mov eax, dword [0x4dbc88]
cmp dword [eax - 0xc], ebp
mov dword [esp + 0x24], 0x4b9404
mov dword [esp + 0x28], 0x4b942c
jne 0x42a9da
push 0x4b7178
lea ebx, [ebp + 0x20]
lea eax, [esp + 0x18]
call fcn.0040cfc0
jmp 0x42a9ec
push eax
push 0x4b71bc
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 0x42ab15
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 0x42ab15
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x42aa5b
cmp eax, 2
jne 0x42ab15
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42aa79
test al, 1
jne 0x42ab15
shr eax, 1
cmp word [esp + eax*2 + 0x2a], bp
je 0x42aa7e
jmp 0x42ab15
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 0x42ab15
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 0x42ab15
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x42aacc
cmp eax, 2
jne 0x42ab15
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42aae3
test al, 1
jne 0x42ab15
shr eax, 1
cmp word [esp + eax*2 + 0x2a], bp
je 0x42aae8
jmp 0x42ab15
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 0x42aaf2
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 0x42ab3d
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 0x42ab4c
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