Function at 0x101344a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x101b2b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 1
push 0x348
push 0x1002904
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xb0], esi
call fcn.01014882
or dword [ebp - 0xa8], 0xffffffff
or dword [ebp - 0xb8], 0xffffffff
xor edi, edi
xor eax, eax
push 0x9e
mov word [ebp - 0xa4], ax
lea eax, [ebp - 0xa2]
push edi
push eax
mov dword [ebp - 0xf4], 0x10032b8
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe8], edi
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
push edi
push 0x14b
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
cmp dword [ebp + 0x10], 3
jne 0x10136e7
push 2
lea eax, [ebp - 0xb8]
push eax
push 0x2000100c
mov ebx, 0x400
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x101352f
call fcn.01015b4b
mov dword [ebp - 0xdc], eax
mov eax, 0x359
mov word [ebp - 0xd6], ax
jmp 0x1013873
mov eax, 0x359
mov word [ebp - 0xd8], ax
add eax, 3
cmp dword [ebp - 0xb8], 7
jb 0x1013553
mov dword [ebp - 0xdc], 0x80004005
jmp 0x1013523
mov word [ebp - 0xd8], ax
lea eax, [ebp - 0xe8]
push eax
push ebx
push dword [ebp - 0xe0]
mov dword [ebp - 0xdc], edi
call fcn.01012f4d
mov dword [ebp - 0xdc], eax
cmp eax, edi
mov eax, 0x35f
jl 0x1013523
mov word [ebp - 0xd8], ax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xb4], eax
jmp 0x10135a2
mov ebx, 0x400
xor eax, eax
push edi
mov word [ebp - 0xa4], ax
push 0x50
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0xb4]
add eax, 7
push eax
push dword [ebp - 0xe8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
test eax, eax
je 0x10136be
mov eax, 0x368
mov word [ebp - 0xd8], ax
lea eax, [ebp - 0xa4]
push eax
push 0xffffffffffffffff
push 0x14a
push dword [ebp - 0xb0]
mov dword [ebp - 0xdc], edi
call esi
mov dword [ebp - 0xf8], eax
cmp eax, 0xffffffff
je 0x10136d3
mov ebx, dword [ebp - 0xb4]
imul ebx, ebx, 0xc
lea ebx, [ebx + 0x1002620]
push ebx
push eax
push 0x151
push dword [ebp - 0xb0]
mov ecx, 0x36b
mov dword [ebp - 0xdc], edi
mov word [ebp - 0xd8], cx
call esi
mov ecx, dword [ebx]
mov eax, dword [ebp - 0xe0]
cmp ecx, dword [eax + 0x2c]
jne 0x101365a
cmp dword [eax + 0x28], 3
jne 0x101365a
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xb4]
inc eax
xor edx, edx
push 7
pop ecx
div ecx
inc dword [ebp - 0xac]
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xac], ecx
jb 0x101359d
push edi
push dword [ebp - 0xa8]
push 0x14e
push dword [ebp - 0xb0]
call esi
cmp dword [ebp - 0xa8], 0xffffffff
jne 0x1013873
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xe0]
imul eax, eax, 0xc
mov eax, dword [eax + 0x1002620]
mov dword [ecx + 0x40], eax
jmp 0x1013873
call fcn.01015b4b
mov dword [ebp - 0xdc], eax
mov eax, 0x368
jmp 0x1013523
mov dword [ebp - 0xdc], 0x80004005
mov eax, 0x36b
jmp 0x1013523
cmp dword [ebp + 0x10], 4
jne 0x1013873
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], 1
push dword [ebp - 0xac]
lea eax, [ebp - 0xf4]
push 0x1001f54
push eax
call fcn.0101728e
add esp, 0xc
mov dword [ebp - 0xdc], eax
cmp eax, edi
mov eax, 0x389
jl 0x1013523
push dword [ebp - 0xf4]
mov word [ebp - 0xd8], ax
push 0xffffffffffffffff
push 0x14a
push dword [ebp - 0xb0]
call esi
cmp eax, 0xffffffff
mov eax, 0x38b
je 0x1013547
inc dword [ebp - 0xac]
cmp dword [ebp - 0xac], 0x1f
mov dword [ebp - 0xdc], edi
mov word [ebp - 0xd8], ax
jbe 0x1013701
push 0x43d
push dword [0x101b308]
lea eax, [ebp - 0xf4]
push eax
call fcn.01017ba7
add esp, 0xc
mov dword [ebp - 0xdc], eax
cmp eax, edi
mov eax, 0x38e
jl 0x1013523
push dword [ebp - 0xf4]
mov word [ebp - 0xd8], ax
push 0xffffffffffffffff
push 0x14a
push dword [ebp - 0xb0]
call esi
cmp eax, 0xffffffff
mov eax, 0x390
je 0x1013547
cmp dword [ebx + 0x28], 4
mov dword [ebp - 0xdc], edi
mov word [ebp - 0xd8], ax
jne 0x1013850
cmp dword [ebx + 0x48], edi
je 0x10137ef
mov dword [ebp - 0xa8], 0x1f
jmp 0x1013850
lea eax, [ebp - 0xe4]
push eax
push dword [ebx + 0x2c]
call fcn.01008786
mov dword [ebp - 0xdc], eax
cmp eax, edi
mov eax, 0x39a
jl 0x1013523
mov word [ebp - 0xd8], ax
mov eax, dword [ebp - 0xe4]
dec eax
cmp eax, 0x1e
jbe 0x1013838
mov dword [ebp - 0xdc], 0x80004005
mov eax, 0x39b
jmp 0x1013523
mov ecx, 0x39b
mov dword [ebp - 0xdc], edi
mov word [ebp - 0xd8], cx
mov dword [ebp - 0xa8], eax
push edi
push dword [ebp - 0xa8]
push 0x14e
push dword [ebp - 0xb0]
call esi
cmp dword [ebp - 0xa8], edi
jne 0x1013873
mov dword [ebx + 0x40], 1
mov esi, dword [ebp - 0xdc]
lea ecx, [ebp - 0xf4]
call fcn.01016fc9
lea ecx, [ebp - 0xdc]
call fcn.01014a83
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.010141f3
leave
ret 0xc