Function at 0x104918b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x350
mov eax, dword [0x1076530]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
push 0x1d08
push 0x10094f0
lea ecx, [ebp - 0x2d0]
call fcn.01055826
xor ebx, ebx
mov eax, 0x1010420
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x304], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x320], ebx
mov dword [ebp - 0x31c], ebx
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 0x2d4], ebx
mov dword [ebp - 0x2f4], ebx
mov dword [ebp - 0x2f0], ebx
mov dword [ebp - 0x30c], ebx
mov dword [ebp - 0x308], ebx
mov dword [ebp - 0x300], ebx
mov dword [ebp - 0x2fc], ebx
mov dword [ebp - 0x2e4], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0x314], eax
xor eax, eax
mov word [ebp - 0x350], ax
lea edi, [ebp - 0x34e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
push 0x206
mov word [ebp - 0x2ac], ax
lea eax, [ebp - 0x2aa]
push ebx
push eax
mov dword [ebp - 0x2ec], ebx
call sub.msvcrt.dll_memset
xor eax, eax
push 0x9e
mov word [ebp - 0xa4], ax
lea eax, [ebp - 0xa2]
push ebx
push eax
call sub.msvcrt.dll_memset
or dword [ebp - 0x318], 0xffffffff
add esp, 0x18
xor eax, eax
inc eax
lea ecx, [ebp - 0x2e4]
push ecx
push eax
push 0x11fa
push esi
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2e8], eax
call fcn.010659e5
mov dword [ebp - 0x2d0], eax
cmp eax, ebx
mov eax, 0x1d1c
jge 0x10492c7
mov word [ebp - 0x2ca], ax
jmp 0x1049524
mov word [ebp - 0x2cc], ax
lea eax, [ebp - 0x304]
push eax
push 0x13e6
push 0x1077450
call fcn.01064977
mov dword [ebp - 0x2d0], eax
cmp eax, ebx
mov eax, 0x1d1e
jl 0x10492bb
mov edi, dword [ebp - 0x314]
mov word [ebp - 0x2cc], ax
cmp dword [edi + 4], ebx
je 0x1049363
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push 0x11fa
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push 0x11fa
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push 0x11f9
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push 0x11f9
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x2d0], ebx
mov eax, 0x1d29
jmp 0x104951d
cmp dword [edi + 0x5b8], ebx
jne 0x10493ff
lea eax, [ebp - 0x2dc]
push eax
push 0x13b3
push 0x1077450
call fcn.01064977
mov dword [ebp - 0x2d0], eax
cmp eax, ebx
mov eax, 0x1d2f
jl 0x10492bb
mov edx, dword [ebp - 0x304]
lea ecx, [ebp - 0x2dc]
mov word [ebp - 0x2cc], ax
call fcn.01064416
mov dword [ebp - 0x2d0], eax
cmp eax, ebx
mov eax, 0x1d30
jl 0x10492bb
push dword [ebp - 0x2dc]
mov word [ebp - 0x2cc], ax
push dword [ebp - 0x2e4]
call fcn.01066536
cmp eax, ebx
mov dword [ebp - 0x2d0], eax
jge 0x10493ef
mov eax, 0x1d32
jmp 0x10492bb
mov dword [ebp - 0x2d0], ebx
mov eax, 0x1d34
jmp 0x104951d
push 2
lea eax, [ebp - 0x2e0]
push eax
push 0x20001009
mov esi, 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1049427
mov dword [ebp - 0x2e0], 1
mov ax, word [edi + 0x5a4]
push 0x104
mov word [ebp - 0x348], ax
lea eax, [ebp - 0x2ac]
push eax
push ebx
lea eax, [ebp - 0x350]
push eax
push 2
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
test eax, eax
jne 0x104946b
call fcn.0105d3b8
mov dword [ebp - 0x2d0], eax
mov eax, 0x1d3f
jmp 0x10492bb
mov eax, 0x1d3f
push 2
mov dword [ebp - 0x2d0], ebx
mov word [ebp - 0x2cc], ax
mov eax, dword [edi + 0x5a0]
pop ecx
cmp eax, ecx
jne 0x104957f
lea eax, [ebp - 0x2ac]
push eax
push 0x13b4
mov ecx, 0x1077450
call fcn.0106495c
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.01064856
add esp, 0x10
mov dword [ebp - 0x2d0], eax
cmp eax, ebx
mov eax, 0x1d43
jl 0x10492bb
mov word [ebp - 0x2cc], ax
mov edx, dword [ebp - 0x304]
lea ecx, [ebp - 0x2dc]
call fcn.01064416
mov dword [ebp - 0x2d0], eax
cmp eax, ebx
mov eax, 0x1d88
jl 0x10492bb
push dword [ebp - 0x2dc]
mov word [ebp - 0x2cc], ax
push dword [ebp - 0x2e4]
call fcn.01066536
mov dword [ebp - 0x2d0], eax
cmp eax, ebx
mov eax, 0x1d8a
jl 0x10492bb
mov word [ebp - 0x2cc], ax
mov esi, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x304]
call fcn.010635b3
lea ecx, [ebp - 0x310]
call fcn.010635b3
lea ecx, [ebp - 0x2f8]
call fcn.010635b3
lea ecx, [ebp - 0x2dc]
call fcn.010635b3
lea ecx, [ebp - 0x324]
call fcn.010635b3
lea ecx, [ebp - 0x2d0]
call fcn.01055a3c
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01054fa7
leave
ret 4
cmp eax, 3
jne 0x104966d
movsx eax, word [edi + 0x5a6]
mov dword [ebp - 0x340], ecx
mov dword [ebp - 0x33c], 4
mov dword [ebp - 0x338], 8
mov dword [ebp - 0x334], 0x10
mov dword [ebp - 0x330], 0x20
mov dword [ebp - 0x32c], 0x40
mov dword [ebp - 0x328], 1
xor ecx, ecx
cmp dword [ebp + ecx*4 - 0x340], eax
je 0x10495e8
inc ecx
cmp ecx, 7
jb 0x10495d3
mov ecx, dword [ebp - 0x318]
push ebx
push 0x50
lea eax, [ebp - 0xa4]
push eax
add ecx, 7
push ecx
push dword [ebp - 0x2e0]
push esi
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
test eax, eax
jne 0x104961c
call fcn.0105d3b8
mov dword [ebp - 0x2d0], eax
mov eax, 0x1d56
jmp 0x10492bb
mov eax, 0x1d56
mov word [ebp - 0x2cc], ax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0xa4]
push eax
push 0x13b8
mov ecx, 0x1077450
mov dword [ebp - 0x2d0], ebx
call fcn.0106495c
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.01064856
add esp, 0x14
mov dword [ebp - 0x2d0], eax
cmp eax, ebx
mov eax, 0x1d58
jmp 0x10494c1
cmp eax, 4
jne 0x10494ce
mov eax, dword [edi + 0x5a8]
cmp eax, 0x80000000
jne 0x10496cc
push 0x13b7
mov ecx, 0x1077450
call fcn.0106495c
mov edx, eax
lea ecx, [ebp - 0x310]
call fcn.0106478e
mov dword [ebp - 0x2d0], eax
cmp eax, ebx
mov eax, 0x1d60
jl 0x10492bb
mov word [ebp - 0x2cc], ax
mov eax, dword [ebp - 0x310]
jmp 0x104974f
inc dword [ebp - 0x2e8]
sar eax, 1
test al, 1
je 0x10496c4
push 0x13b6
mov ecx, 0x1077450
call fcn.0106495c
mov edx, eax
lea ecx, [ebp - 0x2f8]
call fcn.0106478e
mov dword [ebp - 0x2d0], eax
cmp eax, ebx
mov eax, 0x1d6e
jl 0x10492bb
mov edx, dword [ebp - 0x2e8]
cmp edx, ebx
mov word [ebp - 0x2cc], ax
mov eax, dword [ebp - 0x2f8]
jle 0x1049733
inc eax
inc eax
mov dword [ebp - 0x2ec], eax
jmp 0x1049728
cmp cx, 0x2c
je 0x1049730
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, bx
jne 0x1049720
dec edx
jne 0x1049716
xor ecx, ecx
mov word [eax], cx
mov edx, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x2f8]
call fcn.010635ee
mov eax, dword [ebp - 0x2ec]
lea ecx, [ebp - 0x2ac]
push ecx
push eax
push 0x13b5
mov ecx, 0x1077450
call fcn.0106495c
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.01064856
add esp, 0x14
mov dword [ebp - 0x2d0], eax
cmp eax, ebx
mov eax, 0x1d83
jmp 0x10494c1