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

Disassembly:
push 0xffffffffffffffff
push 0x4abda1
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 edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
push 0x206
lea eax, [esp + 0x3a]
push edi
mov dword [esp + 0x250], edi
push eax
mov word [esp + 0x40], di
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 edx, dword [0x4da734]
mov eax, dword [edx + 0xc]
mov ecx, 0x4da734
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x248], 2
xor ecx, ecx
mov eax, 0x427c90
mov dword [esi + 0x24], 0x65
mov dword [esi + 0x28], 0xc9
mov dword [esi + 0x2c], 0x12d
mov dword [esi + 0x34], 0x191
mov dword [esi + 0x3c], 0x15f
mov dword [esi + 0x30], 0x259
mov dword [esi + 0x38], 0x1f5
mov dword [esi + 0x40], 0x385
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], ecx
mov edx, dword [0x4dbcac]
mov ecx, dword [edx - 0xc]
cmp ecx, edi
mov dword [esp + 0x28], 0x4b88e0
mov dword [esp + 0x2c], 0x4b8910
mov dword [esp + 0x30], 0x4b8864
jne 0x42aecb
push 0x4b87b4
lea ebx, [edi + 5]
jmp 0x42af0d
lea eax, [edx - 0x10]
lea edi, [ebp - 0x10]
cmp eax, edi
je 0x42af1a
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x42af0a
mov ebp, dword [eax]
cmp ebp, dword [edi]
jne 0x42af0a
call fcn.0040d0b0
mov ebp, eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x42af01
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x42af1a
push edx
mov ebx, ecx
lea eax, [esp + 0x18]
call fcn.0040cfc0
mov ebp, dword [esp + 0x14]
mov eax, dword [0x4dbc88]
cmp dword [eax - 0xc], 0
push ebp
lea edi, [esp + 0x1c]
jne 0x42af31
push 0x4b3ab0
jmp 0x42af32
push eax
push 0x4b94b0
call fcn.0040e820
mov edx, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
push edx
push 0x80000002
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b073
mov edi, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push 0x4b7334
push edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], 0x208
call ebx
test eax, eax
jne 0x42b073
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x42afb4
cmp eax, 2
jne 0x42b073
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42afd3
test al, 1
jne 0x42b073
shr eax, 1
cmp word [esp + eax*2 + 0x32], 0
je 0x42afda
jmp 0x42b073
mov word [esp + 0x34], 0
push 3
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00429c10
test eax, eax
mov dword [esp + 0x1c], eax
je 0x42b073
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push 0x4b943c
push edi
mov dword [esp + 0x28], 0x208
call ebx
test eax, eax
jne 0x42b073
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x42b029
cmp eax, 2
jne 0x42b073
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42b041
test al, 1
jne 0x42b073
shr eax, 1
cmp word [esp + eax*2 + 0x32], 0
je 0x42b048
jmp 0x42b073
mov word [esp + 0x34], 0
lea ecx, [esp + 0x34]
lea eax, [esi + 0x6c]
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x42b052
sub ecx, edi
sar ecx, 1
lea edx, [esp + 0x34]
push edx
mov ebx, ecx
call fcn.0040cfc0
mov dword [esi], 1
lea eax, [ebp - 0x10]
mov byte [esp + 0x248], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b097
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x42b0bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42b0ce
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