Function at 0x100b8dfb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, dword [0x1000f7ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x20]
push edi
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0x14]
xor edi, edi
and dword [ecx], edi
and dword [esi], edi
mov dword [ebp - 0x16c], eax
mov eax, dword [eax]
push eax
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x174], eax
call fcn.100b53d4
mov ecx, eax
mov dword [ebp - 0x180], ecx
test ecx, ecx
je 0x100b9307
mov eax, ebx
imul eax, eax, 0x14
mov dword [ebp - 0x164], eax
mov eax, dword [eax + 0x10026ed0]
test al, 0x40
je 0x100b8f58
mov eax, dword [ecx + 8]
mov dword [ebp - 0x178], eax
sub ebx, 0x10
je 0x100b8e89
dec ebx
jne 0x100b8e9f
mov eax, dword [ebp - 0x174]
push eax
jmp 0x100b8e92
mov eax, dword [ebp - 0x16c]
push dword [eax + 0xc]
call fcn.100b8498
test al, al
je 0x100b92fe
test byte [ebp + 0x1c], 0x20
je 0x100b8ee2
push 0x55
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLocaleName]
test eax, eax
js 0x100b9307
push 0
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_LocaleNameToLCID]
test eax, eax
je 0x100b9307
mov ecx, dword [ebp - 0x178]
cmp ax, cx
jne 0x100b8ee8
mov ecx, eax
jmp 0x100b8ee8
mov ecx, dword [ebp - 0x178]
test byte [ebp + 0x1c], 2
mov eax, dword [ebp - 0x164]
mov ebx, dword [eax + 0x10026ec8]
je 0x100b8f00
or ebx, 0x80000000
push 0
push 0x55
lea eax, [ebp - 0xb0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LCIDToLocaleName]
test eax, eax
je 0x100b9307
push dword [ebp + 0xc]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x17c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov edi, eax
test edi, edi
jne 0x100b906b
push eax
push eax
push ebx
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov ecx, dword [ebp - 0x168]
mov dword [ecx], eax
jmp 0x100b92fe
test al, al
jns 0x100b9078
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax + 8]
and dword [ebp - 0x178], edi
mov dword [ebp - 0x170], eax
test eax, eax
jne 0x100b8f9e
lea eax, [ebp - 0x170]
push eax
mov eax, dword [ebp - 0x174]
push 1
push eax
call fcn.100b49fd
mov dword [esi], eax
test eax, eax
js 0x100b930d
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x178]
push ecx
push eax
call fcn.100b4966
mov dword [esi], eax
test eax, eax
js 0x100b930d
cmp ebx, 0x29
jne 0x100b8fd3
mov eax, dword [ebp - 0x16c]
push dword [eax + 0xc]
call fcn.100b53d4
mov ebx, eax
test ebx, ebx
jne 0x100b8fd9
jmp 0x100b92fe
mov ebx, dword [ebp - 0x180]
test byte [ebp + 0x1c], 0x20
je 0x100b900d
push 0x55
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLocaleName]
test eax, eax
js 0x100b9307
push 0
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_LocaleNameToLCID]
test eax, eax
je 0x100b9307
test byte [ebp + 0x1c], 2
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x10026ec8]
je 0x100b9024
or eax, 0x80000000
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x174], eax
push dword [ebp - 0x17c]
push eax
push 0
push dword [ebp - 0x178]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoEx]
mov edi, eax
test edi, edi
jne 0x100b906b
push eax
push eax
push eax
push dword [ebp - 0x174]
push eax
push dword [ebp - 0x178]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoEx]
jmp 0x100b8f4b
mov ecx, dword [ebp - 0x168]
mov dword [ecx], edi
jmp 0x100b92fe
cmp ebx, 4
jl 0x100b9307
cmp ebx, 5
jle 0x100b92df
cmp ebx, 0xe
je 0x100b92a4
cmp ebx, 0xf
je 0x100b922a
cmp ebx, 0x35
jle 0x100b9307
cmp ebx, 0x42
jg 0x100b9307
mov eax, dword [ebp - 0x16c]
cmp dword [eax + 8], edi
je 0x100b9307
push 0xa
pop edx
push 2
and dword [ebp - 0x164], edi
mov eax, 0x7d6
mov word [ebp - 0x160], ax
pop eax
push 0x1d
mov word [ebp - 0x15c], ax
mov word [ebp - 0x158], ax
pop eax
push 0x17
mov word [ebp - 0x156], ax
pop eax
mov word [ebp - 0x154], ax
xor eax, eax
push 0x50
mov word [ebp - 0x152], ax
lea eax, [ebp - 0x150]
push eax
push 0x1009
push dword [ecx + 4]
mov word [ebp - 0x15e], dx
mov word [ebp - 0x15a], dx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov edi, eax
test edi, edi
je 0x100b9141
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.MSVCR100.dll__wtoi]
pop ecx
mov dword [ebp - 0x164], eax
jmp 0x100b9147
mov eax, dword [ebp - 0x164]
cmp eax, 1
jne 0x100b92fe
lea eax, [ebp - 0x164]
push eax
mov eax, dword [ebp - 0x16c]
push dword [eax + 8]
call fcn.100b4966
mov dword [esi], eax
test eax, eax
js 0x100b930d
cmp dword [ebp - 0x164], 1
jne 0x100b92fe
and dword [ebp - 0x170], 0
lea eax, [ebp - 0x170]
push eax
mov eax, dword [ebp - 0x16c]
push 1
push dword [eax]
call fcn.100b49fd
mov dword [esi], eax
test eax, eax
js 0x100b930d
lea eax, [ebp - 0x164]
push eax
push dword [ebp - 0x170]
call fcn.100b4966
mov dword [esi], eax
test eax, eax
js 0x100b930d
cmp dword [ebp - 0x164], 1
jne 0x100b92fe
push 0
lea eax, [ebx - 0x35]
mov ebx, dword [ebp - 0x180]
push 0x50
mov word [ebp - 0x15e], ax
lea eax, [ebp - 0x150]
push eax
push 0x100b9320
lea eax, [ebp - 0x160]
push eax
push 0
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetDateFormatEx]
mov edi, eax
test edi, edi
je 0x100b92fe
lea eax, [ebp - 0x14c]
mov ecx, dword [ebp - 0x168]
push esi
push eax
push ecx
push dword [ebp + 0xc]
push dword [ebp - 0x17c]
call fcn.100b52b7
jmp 0x100b92fc
mov eax, dword [ecx + 8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0xf
test byte [ebp + 0x1c], 0x20
mov dword [ebp - 0x170], eax
je 0x100b9280
push 0x55
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLocaleName]
test eax, eax
js 0x100b9307
push 0
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_LocaleNameToLCID]
test eax, eax
je 0x100b9307
cmp ax, word [ebp - 0x170]
jne 0x100b9280
mov ebx, eax
shr ebx, 0x10
and ebx, 0xf
movzx eax, bx
push eax
call fcn.100b8070
mov word [ebp - 0x180], ax
xor eax, eax
mov word [ebp - 0x17e], ax
lea eax, [ebp - 0x180]
jmp 0x100b920e
mov ebx, dword [ebp - 0x16c]
cmp dword [ebx + 4], edi
jne 0x100b92c4
lea eax, [ebp - 0x180]
push eax
mov eax, dword [ebx]
push eax
call fcn.100b3e3f
mov dword [esi], eax
test eax, eax
js 0x100b930d
mov ecx, dword [ebp - 0x168]
push esi
push ecx
push dword [ebp + 0xc]
push dword [ebp - 0x17c]
push dword [ebx + 4]
call fcn.100b3510
jmp 0x100b92fc
mov ecx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x174]
push esi
push ecx
push dword [ebp + 0xc]
push dword [ebp - 0x17c]
push eax
call fcn.100b3836
mov edi, eax
cmp dword [esi], 0
jl 0x100b930d
test edi, edi
jne 0x100b930d
mov dword [esi], 0x80004005
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002059
leave
ret 0x1c