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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x24c4
call fcn.01047500
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ebx, 0x80004005
test eax, eax
je 0x1048fe7
push eax
lea eax, [esi + 0x14]
push eax
call fcn.0105849d
add esi, 0x14
cmp dword [esi], 0
mov dword [ebp - 0x24c4], esi
je 0x1048ffc
xor eax, eax
jmp 0x10492c2
push edi
mov edi, 0x105
push edi
lea eax, [ebp - 0x41c]
push eax
call fcn.0105a9b1
test eax, eax
je 0x10492bf
xor ebx, ebx
xor eax, eax
push 0x10067f4
mov dword [ebp - 0x24b4], ebx
mov dword [ebp - 0x24c0], ebx
mov word [ebp - 0x24ac], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x104906d
push 0x824
lea eax, [ebp - 0x24ac]
push eax
call fcn.01047d2c
xor ecx, ecx
test al, al
setne cl
lea ecx, [ecx + ecx + 0x1269]
push ecx
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
cmp ax, word [ebp - 0x24ac]
je 0x104908d
lea eax, [ebp - 0x24ac]
push 0x5b
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x10490a6
push 0x1006088
mov esi, 0x1048
push esi
lea eax, [ebp - 0x24ac]
push eax
call fcn.0103586b
jmp 0x10490ab
mov esi, 0x1048
lea eax, [ebp - 0x24c0]
push eax
call fcn.01057c17
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
movzx eax, word [ebp - 0x24c0]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x24ac]
push eax
push 0x10067a8
lea eax, [ebp - 0x1464]
push esi
push eax
call fcn.01035968
add esp, 0x1c
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
cmp eax, 0xffffffff
je 0x1049124
push eax
push 0x1006790
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.0103592d
add esp, 0x10
test eax, eax
jl 0x1049124
lea eax, [ebp - 0x210]
push eax
push esi
lea eax, [ebp - 0x1464]
push eax
call fcn.010358e7
lea eax, [ebp - 0x24b4]
push eax
push 0x20019
push ebx
push 0x1002038
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1049267
lea eax, [ebp - 0x24b8]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x24b0]
push eax
push 0
push 0x1006774
push dword [ebp - 0x24b4]
xor edi, edi
inc edi
mov dword [ebp - 0x24b0], edi
mov dword [ebp - 0x24b8], 0x20a
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10491f3
cmp dword [ebp - 0x24b0], edi
jne 0x10491f3
mov edi, dword [sym.imp.msvcrt.dll_wcstok]
mov ebx, 0x1002ac4
push ebx
lea eax, [ebp - 0x210]
push eax
call edi
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10491ee
cmp word [esi], 0x2d
jne 0x10491b5
inc esi
inc esi
push esi
call dword [sym.imp.msvcrt.dll__wtol]
pop ecx
test eax, eax
jbe 0x10491e9
push 0x1006764
push 0x1048
lea eax, [ebp - 0x1464]
push eax
call fcn.010358e7
push esi
push 0x1048
lea eax, [ebp - 0x1464]
push eax
call fcn.010358e7
push ebx
push 0
jmp 0x10491a3
mov esi, 0x1048
and dword [ebp - 0x24bc], 0
push 4
pop edi
lea eax, [ebp - 0x24b8]
push eax
lea eax, [ebp - 0x24bc]
push eax
lea eax, [ebp - 0x24b0]
push eax
push 0
push 0x1006754
push dword [ebp - 0x24b4]
mov dword [ebp - 0x24b0], edi
mov dword [ebp - 0x24b8], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1049259
cmp dword [ebp - 0x24b0], edi
jne 0x1049259
push dword [ebp - 0x24bc]
lea eax, [ebp - 0x1464]
push eax
push 0x1006734
push esi
push eax
call fcn.01035968
add esp, 0x14
push dword [ebp - 0x24b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x104926a
push 4
pop edi
call fcn.0105c74e
test eax, eax
lea eax, [ebp - 0x1464]
je 0x1049280
push 0x100670c
jmp 0x1049285
push 0x10066e4
push esi
push eax
call fcn.010358e7
mov esi, dword [ebp - 0x24c4]
lea eax, [ebp - 0x1464]
push eax
push esi
call fcn.0105849d
mov ebx, eax
test ebx, ebx
jl 0x10492af
push dword [esi]
push 0x10066bc
push edi
jmp 0x10492b7
push ebx
push 0x1006684
push 2
call fcn.01055c8a
add esp, 0xc
mov eax, ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.01047480
leave
ret 4