Function at 0x688094
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x68809d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x39], dl
mov ebx, eax
lea eax, [ebp - 0x38]
mov edx, dword [0x6a1348]
call fcn.0040c428
xor eax, eax
push ebp
push 0x688a5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x70], ebx
mov dl, 1
mov eax, dword [0x682db4]
call fcn.00408bf4
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x27], 1
mov dl, 4
mov eax, dword [ebp - 0x70]
call fcn.006c0bb4
xor eax, eax
push ebp
push 0x6889d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x70]
mov edx, dword [eax + 0x2a8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
call dword [ecx + 0x40c]
mov dl, 1
mov eax, dword [0x44c40c]
call fcn.00476f6c
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x68a1a8]
call fcn.0068b1d4
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x24]
mov edx, dword [0x6912f8]
call fcn.0040e0b8
lea eax, [ebp - 0x20]
call fcn.0040ab70
xor eax, eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x2b8]
call fcn.006b1e14
mov ebx, eax
test bl, bl
je 0x688187
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x2b8]
mov eax, dword [eax + 8]
call fcn.006b0528
lea eax, [ebp - 0x60]
push eax
movzx edx, byte [ebp - 0x39]
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x70]
call fcn.006db5ec
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
mov edx, 0x688a78
mov eax, dword [ebp - 0xc]
call fcn.00683160
xor eax, eax
mov dword [ebp - 0x4c], eax
test bl, bl
je 0x68825b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x6881d1
mov eax, dword [ebp - 0x78]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
dec eax
test eax, eax
jl 0x6882c6
inc eax
mov dword [ebp - 0x74], eax
xor esi, esi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x14]
add dword [ebp - 0x4c], eax
imul eax, dword [ebp - 0x4c], 0x5a0
mov dword [ebp - 0x88], eax
fild dword [ebp - 0x88]
mov eax, dword [0x808334]
mov eax, dword [eax]
fild dword [eax + 0x50]
fdivp st(1)
call fcn.00407c84
mov edi, eax
mov edx, 0x688a98
mov eax, dword [ebp - 0xc]
call fcn.00683160
lea edx, [ebp - 0x90]
mov eax, edi
call fcn.00427698
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov ecx, 0
call fcn.0040b67c
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xc]
call fcn.00683160
inc esi
dec dword [ebp - 0x74]
jne 0x6881e3
jmp 0x6882c6
mov eax, dword [ebp - 0x70]
call fcn.00577cf4
imul eax, eax, 0x5a0
mov dword [ebp - 0x88], eax
fild dword [ebp - 0x88]
mov eax, dword [0x808334]
mov eax, dword [eax]
fild dword [eax + 0x50]
fdivp st(1)
call fcn.00407c84
mov edi, eax
mov edx, 0x688a98
mov eax, dword [ebp - 0xc]
call fcn.00683160
lea edx, [ebp - 0x98]
mov eax, edi
call fcn.00427698
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
mov ecx, 0
call fcn.0040b67c
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xc]
call fcn.00683160
test bl, bl
je 0x688448
mov eax, dword [ebp - 0x70]
cmp word [eax + 0x552], 0
je 0x6882ef
mov esi, dword [ebp - 0x70]
mov cl, 1
mov edx, dword [ebp - 0x70]
mov eax, dword [esi + 0x554]
call dword [esi + 0x550]
mov edx, 0x688aac
mov eax, dword [ebp - 0xc]
call fcn.00683160
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x688313
mov eax, dword [ebp - 0x7c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
dec eax
test eax, eax
jl 0x68841a
inc eax
mov dword [ebp - 0x74], eax
xor esi, esi
mov eax, dword [ebp - 0x70]
cmp word [eax + 0x52a], 0
je 0x68834d
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + esi*4]
push eax
mov edi, dword [ebp - 0x70]
mov cl, 1
mov edx, dword [ebp - 0x70]
mov eax, dword [edi + 0x52c]
call dword [edi + 0x528]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + esi*4]
call fcn.006acfd8
mov byte [ebp - 0x65], al
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + esi*4]
movzx eax, byte [eax + 0x2c]
mov byte [ebp - 0x66], al
cmp byte [ebp - 0x66], 0
je 0x688376
lea eax, [ebp - 0x65]
call fcn.00574924
movzx eax, byte [ebp - 0x65]
sub al, 1
jb 0x688386
je 0x688395
dec al
je 0x6883a4
jmp 0x6883b1
mov edx, 0x688ac4
mov eax, dword [ebp - 0xc]
call fcn.00683160
jmp 0x6883b1
mov edx, 0x688ad4
mov eax, dword [ebp - 0xc]
call fcn.00683160
jmp 0x6883b1
mov edx, 0x688ae4
mov eax, dword [ebp - 0xc]
call fcn.00683160
push ebp
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + esi*4]
lea edx, [ebp - 0x9c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x70]
mov edx, dword [edx + 0x2b8]
mov edx, dword [edx + 0x10]
call fcn.00687d98
pop ecx
mov edx, 0x688af4
mov eax, dword [ebp - 0xc]
call fcn.00683160
mov eax, dword [ebp - 0x70]
cmp word [eax + 0x53a], 0
je 0x688410
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + esi*4]
push eax
mov edi, dword [ebp - 0x70]
mov cl, 1
mov edx, dword [ebp - 0x70]
mov eax, dword [edi + 0x53c]
call dword [edi + 0x538]
inc esi
dec dword [ebp - 0x74]
jne 0x688325
mov edx, 0x688b08
mov eax, dword [ebp - 0xc]
call fcn.00683160
mov eax, dword [ebp - 0x70]
cmp word [eax + 0x55a], 0
je 0x688448
mov esi, dword [ebp - 0x70]
mov cl, 1
mov edx, dword [ebp - 0x70]
mov eax, dword [esi + 0x55c]
call dword [esi + 0x558]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
jmp 0x688750
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x70]
call fcn.006dd640
test al, al
jne 0x688475
xor ecx, ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
call dword [ebp - 0x60]
mov dword [ebp - 0x54], eax
jmp 0x688750
mov eax, dword [ebp - 0x70]
cmp word [eax + 0x512], 0
je 0x68849a
mov eax, dword [ebp - 0x54]
push eax
mov esi, dword [ebp - 0x70]
mov cl, 1
mov edx, dword [ebp - 0x70]
mov eax, dword [esi + 0x514]
call dword [esi + 0x510]
xor esi, esi
jmp 0x6886cd
test bl, bl
je 0x6884cf
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + esi*4]
call fcn.004738a4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + esi*4]
movzx eax, byte [eax + 0x48]
mov byte [ebp - 0x65], al
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + esi*4]
movzx eax, byte [eax + 0x2c]
mov byte [ebp - 0x66], al
jmp 0x6884ed
mov dword [ebp - 0x64], 0xffffffff
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax + 0x462]
mov byte [ebp - 0x65], al
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax + 0x71]
mov byte [ebp - 0x66], al
test bl, bl
je 0x688501
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + esi*4]
test byte [eax + 0x38], 0x80
je 0x6886c8
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
call dword [ecx + 0x4f4]
mov edx, 0x688aac
mov eax, dword [ebp - 0xc]
call fcn.00683160
cmp byte [ebp - 0x66], 0
je 0x688536
lea eax, [ebp - 0x65]
call fcn.00574924
movzx eax, byte [ebp - 0x65]
dec al
je 0x688544
dec al
je 0x688553
jmp 0x688560
mov edx, 0x688ad4
mov eax, dword [ebp - 0xc]
call fcn.00683160
jmp 0x688560
mov edx, 0x688ae4
mov eax, dword [ebp - 0xc]
call fcn.00683160
mov eax, dword [ebp - 0x70]
mov edx, dword [eax + 0x74]
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x2a8]
call fcn.0054a518
mov eax, dword [ebp - 0x70]
mov byte [eax + 0x8d1], 0
mov eax, dword [ebp - 0x64]
push eax
push 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x2a8]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x70]
mov edi, dword [eax]
call dword [edi + 0x4fc]
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x2b8]
call fcn.006b1df8
cmp eax, dword [ebp - 0x64]
jne 0x688642
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x70]
call fcn.006d304c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
je 0x6885f4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x20]
call fcn.0040ab70
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x6885f4
inc eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x20]
mov edx, 0x688b1c
call fcn.0040b320
dec dword [ebp - 0x74]
jne 0x6885e2
cmp dword [ebp - 0x44], 0
jle 0x68862a
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00683160
mov edx, 0x688b30
mov eax, dword [ebp - 0xc]
call fcn.00683160
push ebp
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x2a8]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x30]
call fcn.00687d98
pop ecx
jmp 0x688658
push ebp
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x2a8]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x30]
call fcn.00687d98
pop ecx
jmp 0x688658
push ebp
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x2a8]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x30]
call fcn.00687d98
pop ecx
lea eax, [ebp - 0x2c]
call fcn.00433a8c
test al, al
jne 0x6886bb
mov eax, dword [ebp - 0x70]
call fcn.006db984
test byte [eax + 0x18], 2
je 0x6886bb
mov eax, dword [ebp - 0x64]
push eax
push 1
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x2a8]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x70]
mov edi, dword [eax]
call dword [edi + 0x4fc]
push ebp
lea eax, [ebp - 0xa0]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x688b40
call fcn.0040bc54
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x70]
mov edx, dword [edx + 0x2a8]
mov edx, dword [edx + 0x40]
call fcn.00687d98
pop ecx
mov edx, 0x688af4
mov eax, dword [ebp - 0xc]
call fcn.00683160
test bl, bl
je 0x688708
inc esi
test bl, bl
jne 0x6886da
mov byte [ebp - 0x81], 1
jmp 0x6886fb
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x6886f1
mov eax, dword [ebp - 0x80]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
cmp esi, dword [ebp - 0x80]
setl byte [ebp - 0x81]
cmp byte [ebp - 0x81], 0
jne 0x6884a1
mov edx, 0x688b08
mov eax, dword [ebp - 0xc]
call fcn.00683160
mov eax, dword [ebp - 0xc]
call fcn.006831d4
mov eax, dword [ebp - 0x70]
cmp word [eax + 0x522], 0
je 0x688742
mov eax, dword [ebp - 0x54]
push eax
mov esi, dword [ebp - 0x70]
mov cl, 1
mov edx, dword [ebp - 0x70]
mov eax, dword [esi + 0x524]
call dword [esi + 0x520]
xor ecx, ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
call dword [ebp - 0x60]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x688766
mov eax, dword [ebp - 0x70]
call fcn.006c71b4
test al, al
je 0x688453
mov edx, 0x688b50
mov eax, dword [ebp - 0xc]
call fcn.00683160
lea eax, [ebp - 0x1c]
mov edx, 0x688b68
call fcn.0040b010
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x688821
inc eax
mov dword [ebp - 0x74], eax
xor esi, esi
lea eax, [ebp - 0xa4]
mov edx, dword [ebp - 0x1c]
call fcn.0040bac0
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xb8], esi
mov byte [ebp - 0xb4], 0
lea ecx, [ebp - 0xbc]
mov edx, esi
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0x11
lea edx, [ebp - 0xb8]
mov ecx, 1
mov eax, 0x688ba8
call fcn.00428e90
mov edx, dword [ebp - 0xa8]
pop eax
call fcn.0040bbfc
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0x1c]
mov ecx, 0
call fcn.0040b67c
inc esi
dec dword [ebp - 0x74]
jne 0x688797
lea eax, [ebp - 0x1c]
mov edx, 0x688bcc
call fcn.0040b320
lea eax, [ebp - 0x1c]
mov edx, 0x688bdc
call fcn.0040b320
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x68890f
inc eax
mov dword [ebp - 0x74], eax
xor esi, esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
cmp eax, esi
ja 0x68885f
call fcn.0050abec
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
call fcn.00548188
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xc0]
mov edx, dword [ebp - 0x1c]
call fcn.0040bac0
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0x4c]
and eax, 0xff
mov dword [ebp - 0xdc], eax
mov byte [ebp - 0xd8], 0
mov eax, dword [ebp - 0x4c]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0xd4], eax
mov byte [ebp - 0xd0], 0
mov eax, dword [ebp - 0x4c]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0xcc], eax
mov byte [ebp - 0xc8], 0
lea edx, [ebp - 0xdc]
mov ecx, 2
mov eax, 0x688bf4
call fcn.00428e90
mov edx, dword [ebp - 0xc4]
pop eax
call fcn.0040bbfc
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0x1c]
mov ecx, 0
call fcn.0040b67c
inc esi
dec dword [ebp - 0x74]
jne 0x688850
lea eax, [ebp - 0x1c]
mov edx, 0x688bcc
call fcn.0040b320
push 2
lea eax, [ebp - 0x6a]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
je 0x688948
cmp word [ebp - 0x6a], 0x30
jne 0x688948
lea eax, [ebp - 0x1c]
mov edx, 0x688c30
call fcn.0040b320
jmp 0x688955
lea eax, [ebp - 0x1c]
mov edx, 0x688c58
call fcn.0040b320
lea eax, [ebp - 0x1c]
mov edx, 0x688c80
call fcn.0040b320
push dword [ebp - 0x1c]
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0xc]
call fcn.00683148
push dword [ebp - 0xe0]
push 0x688bcc
mov eax, dword [ebp - 0x40]
mov edx, 3
call fcn.0040b3fc
mov eax, dword [ebp - 4]
call fcn.00408c24
mov eax, dword [ebp - 0x10]
call fcn.00408c24
mov eax, dword [ebp - 0x70]
mov edx, dword [eax + 0x2a8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
call dword [ecx + 0x420]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6889d8
mov dl, 4
mov eax, dword [ebp - 0x70]
call fcn.006c6b20
mov eax, dword [ebp - 0xc]
call fcn.00408c24
pop eax
jmp eax