Function at 0x10001b11
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x4b8]
sub esp, 0x538
mov eax, dword [0x10015450]
xor eax, ebp
mov dword [ebp + 0x4b4], eax
mov eax, dword [ebp + 0x4c8]
push ebx
push esi
push edi
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x4d0]
push eax
push dword [ebp + 0x4c0]
mov esi, 0x104
lea eax, [ebp + 0x3b0]
push esi
xor ebx, ebx
push eax
mov dword [ebp - 0x64], ebx
call sym.hccutils.DLL_GetMyRegKey
push dword [ebp + 0x4cc]
mov edi, eax
push ebx
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], ebx
call fcn.100083a0
push esi
lea eax, [ebp + 0xa4]
push ebx
push eax
call fcn.100083a0
push esi
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.100083a0
push esi
lea eax, [ebp + 0x1a8]
push ebx
push eax
call fcn.100083a0
add esp, 0x40
dec edi
cmp edi, 0x102
ja 0x10001d5a
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
push 3
push eax
mov dword [ebp - 0x7c], eax
call edi
mov dword [ebp - 0x78], eax
inc eax
push eax
call fcn.100066cb
pop ecx
push dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
push eax
push 3
push dword [ebp - 0x7c]
call edi
cmp dword [ebp - 0x78], ebx
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x10001ccb
lea eax, [ebp + 0xa4]
push 0x1001141c
push eax
call fcn.10008210
push dword [ebp - 0x80]
lea eax, [ebp + 0xa4]
push eax
call fcn.10008210
lea eax, [ebp + 0x3b0]
push str._resources
push eax
call fcn.10008210
lea eax, [ebp + 0x3b0]
push eax
lea eax, [ebp + 0x1a8]
push eax
call fcn.10008200
lea eax, [ebp + 0xa4]
push eax
lea eax, [ebp + 0x3b0]
push eax
call fcn.10008210
add esp, 0x28
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x3b0]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp dword [ebp - 0x64], ebx
je 0x10001ca8
push esi
lea eax, [ebp + 0x2ac]
push ebx
push eax
call fcn.100083a0
mov eax, dword [ebp + 0x4cc]
push dword [ebp + 0x4c4]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x2ac]
push 0x100114b4
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x68]
lea eax, [ebp - 0x74]
push eax
push ebx
lea eax, [ebp + 0x2ac]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10001cbd
lea eax, [ebp + 0x1a8]
push eax
lea eax, [ebp + 0x3b0]
push eax
call fcn.10008200
pop ecx
pop ecx
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x64], ebx
jmp 0x10001cde
lea eax, [ebp + 0x3b0]
push str._resources
push eax
call fcn.10008210
pop ecx
pop ecx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x3b0]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp dword [ebp - 0x64], ebx
je 0x10001d5a
push dword [ebp + 0x4c4]
lea eax, [ebp + 0x2ac]
push 0x100114b4
push eax
call edi
mov eax, dword [ebp + 0x4cc]
add esp, 0xc
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x68]
lea eax, [ebp - 0x74]
push eax
push ebx
lea eax, [ebp + 0x2ac]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
cmp eax, ebx
jne 0x10001d41
cmp dword [ebp - 0x74], ecx
jne 0x10001d4f
cmp eax, 0xea
je 0x10001d4f
cmp eax, ebx
je 0x10001d4f
mov dword [ebp - 0x6c], ecx
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10001d61
mov dword [ebp - 0x6c], 1
cmp dword [ebp - 0x6c], ebx
je 0x10001d78
push dword [ebp + 0x4cc]
push ebx
push dword [ebp - 0x68]
call fcn.100083a0
add esp, 0xc
push dword [ebp - 0x68]
call fcn.10008090
pop ecx
mov ecx, dword [ebp + 0x4b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100082f8
add ebp, 0x4b8
leave
ret