Function at 0x4236b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44fe96
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x840], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45f2b0]
xor eax, esp
push eax
lea eax, [esp + 0x858]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x86c]
mov eax, dword [esp + 0x868]
xor ebx, ebx
mov esi, pe_nt_image_headers32
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebx
cmp dword [ebp + 0x1c], esi
jb 0x423716
mov eax, dword [ebp + 8]
jmp 0x423719
lea eax, [ebp + 8]
mov edx, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4239c8
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x4239c8
mov dword [esp + 0x24], ebx
cmp dword [ebp + 0x80], ebx
je 0x423840
push 0x3ff
lea eax, [esp + 0x59]
push ebx
push eax
mov byte [esp + 0x60], bl
call fcn.0043e780
add esp, 0xc
mov dword [esp + 0x18], 0x400
cmp dword [ebp + 0x38], esi
jb 0x42377c
mov eax, dword [ebp + 0x24]
jmp 0x42377f
lea eax, [ebp + 0x24]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x58]
push edx
push ebx
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x4239a5
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4237a2
sub eax, edx
je 0x4239a5
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea eax, [esp + 0x38]
push eax
sub esp, 0x1c
mov dword [esp + 0x880], ebx
lea edx, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
lea edi, [esp + 0x38]
call fcn.00402b30
mov esi, dword [esp + 0x48]
push esi
mov ecx, edi
call fcn.0040f5e0
cmp eax, ebx
jge 0x423802
lea ecx, [esp + 0x38]
call fcn.00402ba0
jmp 0x4239a5
sub esp, 0x1c
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00402b30
push ebp
push esi
call fcn.00420920
cmp eax, ebx
lea ecx, [esp + 0x38]
jge 0x42382e
call fcn.00402ba0
jmp 0x4239a5
mov dword [esp + 0x24], 1
call fcn.00402ba0
jmp 0x4239a5
xor ebp, ebp
jmp 0x423854
mov edi, dword [esp + 0x1c]
push 0x3ff
lea ecx, [esp + 0x59]
push ebx
push ecx
mov byte [esp + 0x60], bl
call fcn.0043e780
add esp, 0xc
push 0x3ff
lea edx, [esp + 0x459]
push ebx
push edx
mov byte [esp + 0x460], bl
call fcn.0043e780
add esp, 0xc
mov eax, 0x400
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x458]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x68]
push ecx
push ebp
push edi
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x4239a5
mov edi, 1
cmp dword [esp + 0x18], edi
jne 0x423986
lea eax, [esp + 0x54]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4238e0
sub eax, edx
je 0x423986
lea eax, [esp + 0x454]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x423900
sub eax, edx
je 0x423986
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea edx, [esp + 0x34]
push edx
sub esp, 0x1c
lea eax, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov dword [esp + 0x884], edi
lea ebx, [esp + 0x5c]
call fcn.00402b30
mov esi, dword [esp + 0x48]
call fcn.0040f4d0
test eax, eax
jl 0x423970
sub esp, 0x1c
lea edx, [esp + 0x470]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00402b30
mov eax, dword [esp + 0x30]
push eax
push esi
call fcn.00420920
test eax, eax
jge 0x423996
lea ecx, [esp + 0x38]
mov dword [esp + 0x860], 0xffffffff
call fcn.00402ba0
xor ebx, ebx
add ebp, edi
cmp ebp, 0xc8
jb 0x423850
jmp 0x4239a5
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], edi
call fcn.00402ba0
xor ebx, ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4239b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
jmp 0x4239cd
mov eax, 0x80004005
mov ecx, dword [esp + 0x858]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x840]
xor ecx, esp
call fcn.00437983
add esp, 0x850
ret 8