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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4605fd
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x47bb04]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x25c], ecx
mov ecx, dword [ebp - 0x25c]
add ecx, 0x74
call fcn.00412e50
push 0x20019
call fcn.00403930
add esp, 4
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
push 0
push 0x464e84
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40757a
xor eax, eax
jmp 0x4078b0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x13c]
call fcn.00405660
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x260], edx
push 0x104
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
test eax, eax
jne 0x407873
lea edx, [ebp - 0x123]
push edx
call fcn.00445fe1
add esp, 4
mov dword [ebp - 0x12c], eax
call fcn.00403830
movzx eax, al
test eax, eax
jne 0x40760a
cmp dword [ebp - 0x12c], 0x13
jl 0x407606
cmp dword [ebp - 0x12c], 0x18
jg 0x407606
cmp dword [ebp - 0x12c], 0x15
jne 0x407608
jmp 0x407593
jmp 0x407621
cmp dword [ebp - 0x12c], 0x13
jl 0x40761c
cmp dword [ebp - 0x12c], 0x18
jle 0x407621
jmp 0x407593
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x128]
push edx
push 0
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x407648
jmp 0x407593
mov dword [ebp - 0x250], 0
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x264], edx
push 0x104
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ecx, dword [ebp - 0x250]
add ecx, 1
mov dword [ebp - 0x250], ecx
test eax, eax
jne 0x407864
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x128]
push eax
push 0
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4076b9
jmp 0x407652
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x124]
push ecx
push 0x464ea0
lea edx, [ebp - 0x138]
push edx
call fcn.00404bc0
add esp, 0x10
mov dword [ebp - 0x24c], 0x104
lea ecx, [ebp - 0x13c]
call fcn.00402b10
lea eax, [ebp - 0x24c]
push eax
push 0x104
lea ecx, [ebp - 0x13c]
call fcn.00402730
push eax
push 0
push 0
push 0x464ea8
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x13c]
call fcn.00403fd0
mov dword [ebp - 0x24c], 0x104
lea ecx, [ebp - 0x134]
call fcn.00402b10
lea edx, [ebp - 0x24c]
push edx
push 0x104
lea ecx, [ebp - 0x134]
call fcn.00402730
push eax
push 0
push 0
push str.Language
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x134]
call fcn.00403fd0
mov dword [ebp - 0x24c], 0x104
lea ecx, [ebp - 0x130]
call fcn.00402b10
lea ecx, [ebp - 0x24c]
push ecx
push 0x104
lea ecx, [ebp - 0x130]
call fcn.00402730
push eax
push 0
push 0
push str.AcadLocation
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x130]
call fcn.00403fd0
lea ecx, [ebp - 0x130]
call fcn.0040c460
lea ecx, [ebp - 0x130]
call fcn.0040c3d0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x130]
call fcn.0040c200
push 0x5c
lea ecx, [ebp - 0x130]
call fcn.0040c520
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
push 0x464ed0
lea edx, [ebp - 0x130]
push edx
push ecx
call fcn.00403d20
add esp, 0xc
mov dword [ebp - 0x268], eax
call fcn.004037a0
add esp, 4
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
jne 0x40784a
jmp 0x407652
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x25c]
add ecx, 0x74
call fcn.00412e70
jmp 0x407652
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x407593
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x25c]
add ecx, 0x74
call fcn.00401cb0
xor ecx, ecx
test eax, eax
setg cl
mov dword [ebp - 0x258], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00405230
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00445478
mov esp, ebp
pop ebp
ret