Function at 0x101346a
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.010148a2
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 0x1013707
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 0x101354f
call fcn.01015b6b
mov dword [ebp - 0xdc], eax
mov eax, 0x359
mov word [ebp - 0xd6], ax
jmp 0x1013893
mov eax, 0x359
mov word [ebp - 0xd8], ax
add eax, 3
cmp dword [ebp - 0xb8], 7
jb 0x1013573
mov dword [ebp - 0xdc], 0x80004005
jmp 0x1013543
mov word [ebp - 0xd8], ax
lea eax, [ebp - 0xe8]
push eax
push ebx
push dword [ebp - 0xe0]
mov dword [ebp - 0xdc], edi
call fcn.01012f6d
mov dword [ebp - 0xdc], eax
cmp eax, edi
mov eax, 0x35f
jl 0x1013543
mov word [ebp - 0xd8], ax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xb4], eax
jmp 0x10135c2
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 0x10136de
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 0x10136f3
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 0x101367a
cmp dword [eax + 0x28], 3
jne 0x101367a
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 0x10135bd
push edi
push dword [ebp - 0xa8]
push 0x14e
push dword [ebp - 0xb0]
call esi
cmp dword [ebp - 0xa8], 0xffffffff
jne 0x1013893
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 0x1013893
call fcn.01015b6b
mov dword [ebp - 0xdc], eax
mov eax, 0x368
jmp 0x1013543
mov dword [ebp - 0xdc], 0x80004005
mov eax, 0x36b
jmp 0x1013543
cmp dword [ebp + 0x10], 4
jne 0x1013893
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], 1
push dword [ebp - 0xac]
lea eax, [ebp - 0xf4]
push 0x1001f54
push eax
call fcn.010172ae
add esp, 0xc
mov dword [ebp - 0xdc], eax
cmp eax, edi
mov eax, 0x389
jl 0x1013543
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 0x1013567
inc dword [ebp - 0xac]
cmp dword [ebp - 0xac], 0x1f
mov dword [ebp - 0xdc], edi
mov word [ebp - 0xd8], ax
jbe 0x1013721
push 0x43d
push dword [0x101b308]
lea eax, [ebp - 0xf4]
push eax
call fcn.01017bc7
add esp, 0xc
mov dword [ebp - 0xdc], eax
cmp eax, edi
mov eax, 0x38e
jl 0x1013543
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 0x1013567
cmp dword [ebx + 0x28], 4
mov dword [ebp - 0xdc], edi
mov word [ebp - 0xd8], ax
jne 0x1013870
cmp dword [ebx + 0x48], edi
je 0x101380f
mov dword [ebp - 0xa8], 0x1f
jmp 0x1013870
lea eax, [ebp - 0xe4]
push eax
push dword [ebx + 0x2c]
call fcn.010087a6
mov dword [ebp - 0xdc], eax
cmp eax, edi
mov eax, 0x39a
jl 0x1013543
mov word [ebp - 0xd8], ax
mov eax, dword [ebp - 0xe4]
dec eax
cmp eax, 0x1e
jbe 0x1013858
mov dword [ebp - 0xdc], 0x80004005
mov eax, 0x39b
jmp 0x1013543
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 0x1013893
mov dword [ebx + 0x40], 1
mov esi, dword [ebp - 0xdc]
lea ecx, [ebp - 0xf4]
call fcn.01016fe9
lea ecx, [ebp - 0xdc]
call fcn.01014aa3
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01014215
leave
ret 0xc