Function at 0x436230
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4cefc2
mov eax, dword fs:[0]
push eax
mov eax, 0x4264
call fcn.004a1b30
mov eax, dword [0x4ffeb0]
xor eax, esp
mov dword [esp + 0x425c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4ffeb0]
xor eax, esp
push eax
lea eax, [esp + 0x4274]
mov dword fs:[0], eax
mov ecx, dword [ecx]
mov eax, dword [esp + 0x4284]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x20]
push edx
push 0x20019
xor ebx, ebx
push ebx
push ecx
push eax
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4365da
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x1b]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004395e0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x4290], ebx
mov ecx, dword [esp + 0x34]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [esp + 0x78]
push eax
push ebx
push ecx
mov dword [esp + 0x50], 0x104
mov dword [esp + 0x38], 0x3ffe
xor esi, esi
call ebp
test eax, eax
jne 0x4364d7
jmp 0x436300
mov eax, dword [esp + 0x34]
cmp eax, 1
jne 0x43642f
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x64]
shr edx, 1
xor eax, eax
push 0x104
push ecx
mov word [esp + edx*2 + 0x274], ax
call fcn.004a2562
add esp, 4
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4e4280
call fcn.00404030
push ecx
mov byte [esp + 0x4284], 1
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00404030
mov byte [esp + 0x4284], bl
call fcn.00435840
add esp, 8
cmp eax, ebx
jne 0x436499
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4e4284
call fcn.00404030
push ecx
mov byte [esp + 0x4284], 2
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00404030
mov byte [esp + 0x4284], bl
call fcn.00435840
add esp, 8
cmp eax, ebx
jne 0x436499
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x14]
call fcn.00404030
lea ecx, [esp + 0x10]
mov byte [esp + 0x427c], 3
call fcn.00404fb0
lea edx, [esp + 0x26c]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00438a60
mov ecx, eax
call fcn.004040e0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00404d20
call fcn.00435540
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x436429
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00438cd0
mov ecx, eax
call fcn.004040e0
lea ecx, [esp + 0x10]
jmp 0x43648d
cmp eax, 2
jne 0x436499
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x64]
shr edx, 1
xor eax, eax
push 0x104
push ecx
mov word [esp + edx*2 + 0x274], ax
call fcn.004a2562
add esp, 8
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x28]
call fcn.00404030
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4284], 4
call fcn.00438a60
mov ecx, eax
call fcn.004040e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x427c], bl
call fcn.0041af20
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x2c]
push ebx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x78]
push eax
inc esi
push esi
push ecx
mov dword [esp + 0x50], 0x104
mov dword [esp + 0x38], 0x3ffe
call ebp
test eax, eax
je 0x436300
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov bl, 5
jmp 0x436500
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
call fcn.00439490
test al, al
je 0x4365c6
lea ecx, [esp + 0x10]
call fcn.00404d80
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x4280], bl
call fcn.00439430
mov ecx, eax
add ecx, 4
lea edx, [esp + 0x14]
call fcn.004359b0
add esp, 4
lea ecx, [esp + 0x24]
call fcn.00439430
push eax
mov ecx, edi
call fcn.00438a60
lea edx, [esp + 0x10]
push edx
mov ecx, eax
call fcn.004044f0
lea ecx, [esp + 0x24]
call fcn.00439430
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00404d20
call fcn.00435540
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x4365af
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
push eax
call fcn.00438cd0
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.004044f0
lea ecx, [esp + 0x10]
call fcn.0041af20
lea ecx, [esp + 0x24]
call fcn.00439e20
jmp 0x436500
lea ecx, [esp + 0x44]
mov dword [esp + 0x427c], 0xffffffff
call fcn.00438bc0
mov eax, 1
mov ecx, dword [esp + 0x4274]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x425c]
xor ecx, esp
call fcn.004a0e91
add esp, 0x4270
ret