Function at 0x102b8a3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
mov byte [ebp - 1], 1
call sub.MFC42u.dll_CWinApp::GetAppRegistryKey
mov dword [ebp - 0x1c], eax
mov ebx, 0x102dea8
cmp eax, edi
je 0x102b8fc
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push edi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x102b8f5
push dword [ebp - 0x18]
mov byte [ebp - 1], 0
call edi
push dword [ebp - 0x1c]
call edi
xor edi, edi
push 2
push 2
push 0x102de38
push ebx
mov ecx, esi
call sub.MFC42u.dll_CWinApp::GetProfileIntW
push eax
call fcn.01021f93
push 1
push 0x102de44
push ebx
mov ecx, esi
mov dword [esi + 0x160], eax
call sub.MFC42u.dll_CWinApp::GetProfileIntW
push 1
push 0x102de60
push ebx
mov ecx, esi
mov dword [esi + 0x158], eax
call sub.MFC42u.dll_CWinApp::GetProfileIntW
mov dword [esi + 0x15c], eax
xor eax, eax
push 2
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
push 0xd
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
cmp word [ebp - 0xc], 0x31
mov ecx, esi
setne al
push eax
push 0x102deb8
push ebx
call sub.MFC42u.dll_CWinApp::GetProfileIntW
push eax
mov ecx, esi
call fcn.01021eed
push edi
push 0x102ded8
push ebx
call sub.MFC42u.dll_CWinApp::GetProfileIntW
mov dword [esi + 0x138], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x102dec4
push ebx
mov ecx, esi
call sub.MFC42u.dll_CWinApp::GetProfileBinary
test eax, eax
je 0x10403c4
cmp dword [ebp - 8], edi
je 0x10403c4
push dword [ebp - 8]
lea edi, [esi + 0x128]
mov esi, dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0100b7da
mov esi, dword [ebp - 0x14]
pop ecx
xor edi, edi
push 1
push 0x102de8c
push ebx
mov ecx, esi
call sub.MFC42u.dll_CWinApp::GetProfileIntW
mov dword [esi + 0x114], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x102de74
push ebx
mov ecx, esi
call sub.MFC42u.dll_CWinApp::GetProfileBinary
test eax, eax
je 0x10403da
cmp dword [ebp - 8], edi
je 0x10403da
push dword [ebp - 8]
lea edi, [esi + 0x118]
mov esi, dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0100b7da
mov esi, dword [ebp - 0x14]
pop ecx
xor edi, edi
cmp byte [ebp - 1], 0
push 5
pop eax
jne 0x102ba43
push eax
push eax
push 0x102eff8
push ebx
mov ecx, esi
call sub.MFC42u.dll_CWinApp::GetProfileIntW
push eax
call fcn.0102d79d
push eax
push 3
mov dword [0x10aa0b8], eax
mov dword [0x10aa118], eax
call fcn.0100bbc2
push eax
push 0x1438
push 0x10aa3c8
call sub.ntdll.dll_WinSqmSetDWORD
push edi
push 0x10216bc
push ebx
mov ecx, esi
call sub.MFC42u.dll_CWinApp::GetProfileIntW
test eax, eax
jne 0x104bf26
push 1
push 0xb
call fcn.01009afa
pop edi
mov dword [esi + 0x150], eax
pop esi
pop ebx
leave
ret
push edi
push edi
push edi
push edi
lea eax, [esi + 0x128]
push eax
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x102b9cf
mov ecx, 0x5a0
push ecx
mov eax, 0x708
push eax
push ecx
push eax
lea eax, [esi + 0x118]
push eax
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x102ba25
mov dword [esi + 0x14c], 1
jmp 0x102ba7b