Function at 0x100b41f6
Capabilities:
Get geographical location

Disassembly:
push 0x250
mov eax, 0x1012221e
call fcn.10003d4a
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
lea ecx, [ebp - 0x148]
push eax
call fcn.100a4d6b
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
cmp dword [esi + 4], 1
push 5
push eax
push 0xf
pop eax
push 0x17
pop ecx
cmove eax, ecx
push eax
push dword [esi]
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x100b4256
call edi
push eax
push 0x1e61a740
call fcn.100ba828
lea eax, [ebp - 0x1c]
push eax
call fcn.1003a42b
mov ebx, eax
jmp 0x100b42bb
push dword [ebp - 0x38]
lea ecx, [ebp - 0x258]
push dword [ebp - 0x148]
call fcn.100a4dad
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 1
lea ecx, [ebx + ecx]
add ecx, ecx
add eax, ecx
lea ecx, [ebp - 0x258]
push eax
call fcn.1003a42b
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x148]
call fcn.1003a42b
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0
push eax
mov ecx, eax
call fcn.1003a42b
lea eax, [ebp - 0x38]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x148]
call fcn.100c29bc
test al, al
jne 0x100b4263
cmp dword [esi + 4], 1
lea eax, [ebp - 0x1c]
push 5
push eax
push 0xe
pop eax
push 0x16
pop ecx
cmove eax, ecx
push eax
push dword [esi]
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
test eax, eax
jne 0x100b4301
call edi
push eax
push 0x1e61a723
call fcn.100ba828
lea eax, [ebp - 0x1c]
push eax
call fcn.1003a42b
mov ebx, eax
push 0x2e
pop eax
cmp ebx, 1
jne 0x100b4385
cmp word [ebp - 0x1c], ax
je 0x100b439e
jmp 0x100b4385
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x258]
push dword [ebp - 0x148]
call fcn.100a4dad
push 0x2e
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 2
call fcn.1003a42b
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x148]
lea ecx, [ebx + ecx]
add ecx, ecx
add eax, ecx
lea ecx, [ebp - 0x258]
push eax
call fcn.1003a42b
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x148]
call fcn.1003a42b
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0
push eax
mov ecx, eax
call fcn.1003a42b
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x148]
call fcn.100c29bc
test al, al
jne 0x100b4320
cmp dword [esi + 4], 0
je 0x100b445c
cmp dword [esi + 4], 2
jne 0x100b43bd
push 0x25
pop eax
mov word [ebp - 0x1c], ax
xor eax, eax
mov word [ebp - 0x1a], ax
jmp 0x100b43de
push 5
lea eax, [ebp - 0x1c]
push eax
push 0x14
push dword [esi]
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
test eax, eax
jne 0x100b43de
call edi
push eax
push 0x1e61a722
call fcn.100ba828
lea eax, [ebp - 0x1c]
push eax
call fcn.1003a42b
mov ebx, eax
jmp 0x100b4443
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x258]
push dword [ebp - 0x148]
call fcn.100a4dad
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 3
lea ecx, [ebx + ecx]
add ecx, ecx
add eax, ecx
lea ecx, [ebp - 0x258]
push eax
call fcn.1003a42b
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x148]
call fcn.1003a42b
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0
push eax
mov ecx, eax
call fcn.1003a42b
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x148]
call fcn.100c29bc
test al, al
jne 0x100b43eb
or dword [ebp - 0x34], 0xffffffff
lea eax, [ebp - 0x34]
cmp dword [esi + 4], 1
mov ebx, dword [sym.imp.kernel32.dll_GetLocaleInfoW]
push 2
push eax
push 0x1c
pop ecx
mov eax, 0x1010
cmove eax, ecx
or eax, 0x20000000
push eax
push dword [esi]
call ebx
test eax, eax
jne 0x100b4496
call edi
push eax
push 0x1e61a721
call fcn.100ba828
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x100b44b6
cmp eax, 4
jne 0x100b44a8
cmp dword [esi + 4], 1
je 0x100b44b6
cmp eax, 0xe
je 0x100b44b6
cmp eax, 0xf
jne 0x100b45c0
push 0x28
pop eax
mov word [ebp - 0x1c], ax
xor eax, eax
mov word [ebp - 0x1a], ax
jmp 0x100b452b
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x258]
push dword [ebp - 0x148]
call fcn.100a4dad
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 4
lea eax, [eax + ecx*2]
add eax, 2
lea ecx, [ebp - 0x258]
push eax
call fcn.1003a42b
push 0x1014fab8
lea ecx, [ebp - 0x148]
call fcn.1003a42b
push dword [ebp - 0x258]
lea ecx, [ebp - 0x148]
call fcn.1003a42b
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0
push eax
mov ecx, eax
call fcn.1003a42b
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x148]
call fcn.100c29bc
test al, al
jne 0x100b44c5
push 0x28
pop eax
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x148]
call fcn.100c29bc
test al, al
je 0x100b45bd
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x258]
push dword [ebp - 0x148]
call fcn.100a4dad
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 5
lea eax, [eax + ecx*2]
add eax, 2
lea ecx, [ebp - 0x258]
push eax
call fcn.1003a42b
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x148]
call fcn.1003a42b
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0
push eax
mov ecx, eax
call fcn.1003a42b
jmp 0x100b454b
mov eax, dword [ebp - 0x34]
cmp eax, 3
je 0x100b45ed
cmp eax, 4
jne 0x100b45d0
cmp dword [esi + 4], 1
jne 0x100b45ed
cmp eax, 6
je 0x100b45ed
cmp eax, 7
je 0x100b45ed
cmp eax, 0xa
je 0x100b45ed
cmp eax, 0xb
je 0x100b45ed
cmp eax, 0xd
jne 0x100b4697
push 5
lea eax, [ebp - 0x28]
push eax
push 0x51
push dword [esi]
call ebx
test eax, eax
jne 0x100b460a
call edi
push eax
push 0x7470786b
call fcn.100ba828
lea eax, [ebp - 0x28]
push eax
call fcn.1003a42b
mov edi, eax
jmp 0x100b467e
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x258]
push dword [ebp - 0x148]
call fcn.100a4dad
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 6
lea ecx, [ecx + edi]
add ecx, ecx
add eax, ecx
lea ecx, [ebp - 0x258]
push eax
call fcn.1003a42b
push 0x1014fab8
lea ecx, [ebp - 0x148]
call fcn.1003a42b
push dword [ebp - 0x258]
lea ecx, [ebp - 0x148]
call fcn.1003a42b
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0
push eax
mov ecx, eax
call fcn.1003a42b
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x148]
call fcn.100c29bc
test al, al
jne 0x100b4617
push dword [ebp - 0x148]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
mov eax, dword [ebp - 0x25c]
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
pop ecx
movsd qword [eax], xmm0
cmp dword [esi + 4], 2
jne 0x100b46c8
divsd xmm0, qword [0x10138348]
movsd qword [eax], xmm0
lea ecx, [ebp - 0x148]
push ecx
call fcn.1003a42b
mov al, 1
call fcn.1000401a
ret 8