Function at 0x52333c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9d8
push esi
mov dword [ebp - 0x9d8], ecx
mov dword [ebp - 0x948], 0x200
mov eax, dword [ebp + 8]
add eax, 0x29
push eax
lea ecx, [ebp - 0x640]
push ecx
call fcn.0054be90
add esp, 8
push 0x5cad20
lea edx, [ebp - 0x440]
push edx
call fcn.0054be90
add esp, 8
push 1
push 0x23
lea eax, [ebp - 0x640]
push eax
mov ecx, dword [ebp - 0x9d8]
call fcn.0052325e
mov byte [ebp + eax - 0x640], 0x5c
push 1
push 0x23
lea ecx, [ebp - 0x640]
push ecx
mov ecx, dword [ebp - 0x9d8]
call fcn.0052325e
mov byte [ebp + eax - 0x640], 0x5c
push 1
push 0x23
lea edx, [ebp - 0x640]
push edx
mov ecx, dword [ebp - 0x9d8]
call fcn.0052325e
mov byte [ebp + eax - 0x640], 0
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x440]
push ecx
call fcn.0054bea0
add esp, 8
lea edx, [ebp - 0x950]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x440]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x94c], eax
cmp dword [ebp - 0x94c], 0
jne 0x523514
push 0x685850
lea ecx, [ebp - 0x9d0]
push ecx
call fcn.0054c6e3
add esp, 8
lea edx, [ebp - 0x948]
push edx
lea eax, [ebp - 0x9d0]
push eax
push 0
push 0
push 0x5cad40
mov ecx, dword [ebp - 0x950]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x94c], eax
mov edx, dword [ebp - 0x950]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x9d0]
push eax
call fcn.0054ce70
add esp, 4
test eax, eax
ja 0x523512
push pe_nt_image_headers32
push 0
lea ecx, [ebp - 0x940]
push ecx
call fcn.0054bf90
add esp, 0xc
push 3
push 0x23
mov edx, dword [ebp + 8]
add edx, 0x29
push edx
mov ecx, dword [ebp - 0x9d8]
call fcn.0052325e
mov esi, eax
push 2
push 0x23
mov eax, dword [ebp + 8]
add eax, 0x29
push eax
mov ecx, dword [ebp - 0x9d8]
call fcn.0052325e
sub esi, eax
sub esi, 1
push esi
push 2
push 0x23
mov ecx, dword [ebp + 8]
add ecx, 0x29
push ecx
mov ecx, dword [ebp - 0x9d8]
call fcn.0052325e
mov edx, dword [ebp + 8]
lea eax, [edx + eax + 0x2a]
push eax
lea ecx, [ebp - 0x940]
push ecx
call fcn.0054c7e0
add esp, 0xc
lea edx, [ebp - 0x940]
push edx
lea eax, [ebp - 0x9d0]
push eax
call fcn.0054be90
add esp, 8
jmp 0x52351b
xor eax, eax
jmp 0x52369b
lea ecx, [ebp - 0x9d0]
push ecx
mov ecx, dword [ebp - 0x9d8]
call fcn.005232cd
push 0x5cad50
lea edx, [ebp - 0x440]
push edx
call fcn.0054be90
add esp, 8
lea eax, [ebp - 0x950]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x440]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x94c], eax
cmp dword [ebp - 0x94c], 0
jne 0x523689
mov byte [ebp - 0x9d4], 0x41
jmp 0x52358c
mov dl, byte [ebp - 0x9d4]
add dl, 1
mov byte [ebp - 0x9d4], dl
movsx eax, byte [ebp - 0x9d4]
cmp eax, 0x5a
jg 0x523689
mov dword [ebp - 0x948], 0x200
movsx ecx, byte [ebp - 0x9d4]
push ecx
push 0x5cad68
lea edx, [ebp - 0x40]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x948]
push eax
lea ecx, [ebp - 0x840]
push ecx
push 0
push 0
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x950]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x94c], eax
cmp dword [ebp - 0x94c], 0
jne 0x523684
mov dword [ebp - 0x944], 0
jmp 0x523610
mov ecx, dword [ebp - 0x944]
add ecx, 1
mov dword [ebp - 0x944], ecx
mov edx, dword [ebp - 0x948]
shr edx, 1
cmp dword [ebp - 0x944], edx
jge 0x52363c
mov eax, dword [ebp - 0x944]
mov ecx, dword [ebp - 0x944]
mov dl, byte [ebp + ecx*2 - 0x840]
mov byte [ebp + eax - 0x240], dl
jmp 0x523601
mov eax, dword [ebp - 0x948]
shr eax, 1
mov byte [ebp + eax - 0x23f], 0
lea ecx, [ebp - 0x240]
push ecx
mov ecx, dword [ebp - 0x9d8]
call fcn.005232cd
lea edx, [ebp - 0x9d0]
push edx
lea eax, [ebp - 0x240]
push eax
call fcn.0054cb20
add esp, 8
test eax, eax
je 0x523684
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 0x9d4]
mov byte [ecx + 8], dl
jmp 0x52357d
mov eax, dword [ebp - 0x950]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4