Function at 0x4032d0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a61b
mov eax, dword fs:[0]
push eax
sub esp, 0x988
mov eax, dword [0x4a3e54]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 1
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x1c], str.CCITRanges
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x12c], 0
push 0x103
push 0
lea eax, [ebp - 0x12b]
push eax
call fcn.0044bc50
add esp, 0xc
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x140], 0x104
lea eax, [ebp - 0x148]
push eax
push 0x20019
push 0
lea ecx, [ebp + 0x10]
call fcn.00405150
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4035fe
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x148]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x20], 0
je 0x4035fe
mov eax, dword [ebp - 0x20]
shl eax, 2
push eax
call fcn.0044fe24
add esp, 4
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
jne 0x4033eb
jmp 0x4035fe
mov eax, dword [ebp - 0x20]
shl eax, 2
push eax
push 0xff
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.0044bc50
add esp, 0xc
mov dword [ebp - 0x24], 0
jmp 0x403418
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
jae 0x4035d1
mov byte [ebp - 0x12c], 0
mov dword [ebp - 0x28], 0x104
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x148]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0044fcd0
add esp, 4
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x12c]
push edx
call fcn.0044e642
add esp, 0xc
test eax, eax
jne 0x4035cc
mov byte [ebp - 0x548], 0
push 0x3ff
push 0
lea eax, [ebp - 0x547]
push eax
call fcn.0044bc50
add esp, 0xc
mov byte [ebp - 0x948], 0
push 0x3ff
push 0
lea eax, [ebp - 0x947]
push eax
call fcn.0044bc50
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp + 0x10]
call fcn.00405150
push eax
push 0x48046c
lea ecx, [ebp - 0x548]
push ecx
call fcn.0044b485
add esp, 0x10
lea ecx, [ebp - 0x950]
call fcn.00405e00
mov byte [ebp - 4], 2
lea eax, [ebp - 0x144]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x548]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40357c
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x948]
push ecx
lea edx, [ebp - 0x13c]
push edx
push 0
push str.:Range
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40357c
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x948]
push eax
lea ecx, [ebp + 0xc]
call fcn.00405150
push eax
call fcn.004036a0
add esp, 8
test eax, eax
jne 0x40357c
mov byte [ebp - 0x15], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x950]
call fcn.00405e30
jmp 0x4035fe
lea eax, [ebp - 0x122]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
push eax
call fcn.0044cf65
add esp, 4
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 0x20]
jae 0x4035bd
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
mov dword [ecx + eax*4], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x950]
call fcn.00405e30
jmp 0x40340f
mov dword [ebp - 0x24], 0
jmp 0x4035e3
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
jae 0x4035fe
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x138]
cmp dword [ecx + eax*4], 0xffffffff
jne 0x4035fc
jmp 0x4035fe
jmp 0x4035da
cmp dword [ebp - 0x148], 0
je 0x403614
mov eax, dword [ebp - 0x148]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x138], 0
je 0x403636
mov eax, dword [ebp - 0x138]
push eax
call fcn.0044d03e
add esp, 4
mov dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp + 0x10]
call fcn.00405150
push eax
push str._s_s_ld
mov edx, dword [ebp + 0x14]
push edx
call fcn.00405cb0
add esp, 0x14
mov al, byte [ebp - 0x15]
mov byte [ebp - 0x991], al
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004019f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004019f0
mov al, byte [ebp - 0x991]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044b637
mov esp, ebp
pop ebp
ret 0x10