Function at 0x667944
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x66794d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x2c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x668187
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x630f50]
call fcn.00405160
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x66810f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [esi + 0x278]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x3c4]
mov dl, 1
mov eax, dword [0x43e6c0]
call fcn.0044d978
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x43ad78]
call fcn.00405160
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x28]
mov edx, dword [0x61cdf8]
call fcn.0040934c
lea eax, [ebp - 0x20]
call fcn.00406e58
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x284]
call fcn.0063ccd8
mov byte [ebp - 0x49], al
cmp byte [ebp - 0x49], 0
je 0x667a0f
lea edx, [ebp - 0x28]
mov eax, dword [esi + 0x284]
mov eax, dword [eax + 8]
call fcn.0063b87c
lea eax, [ebp - 0x48]
push eax
mov edx, ebx
lea ecx, [ebp - 0x40]
mov eax, esi
call fcn.00662fb0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov edx, 0x6681a4
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
xor eax, eax
mov dword [ebp - 0x38], eax
cmp byte [ebp - 0x49], 0
je 0x667ab9
mov eax, dword [ebp - 0x28]
call fcn.0040907c
test eax, eax
jl 0x667b11
inc eax
mov dword [ebp - 0x5c], eax
xor ebx, ebx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x18]
add dword [ebp - 0x38], eax
imul eax, dword [ebp - 0x38], 0x5a0
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
mov eax, dword [0x6ffbf8]
mov eax, dword [eax]
fild dword [eax + 0x48]
fdivp st(1)
call fcn.00404b30
mov edi, eax
mov edx, 0x6681c4
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
lea edx, [ebp - 0x68]
mov eax, edi
call fcn.0042007c
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov ecx, 0
call fcn.00407988
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
inc ebx
dec dword [ebp - 0x5c]
jne 0x667a53
jmp 0x667b11
mov eax, esi
call fcn.0049b008
imul eax, eax, 0x5a0
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
mov eax, dword [0x6ffbf8]
mov eax, dword [eax]
fild dword [eax + 0x48]
fdivp st(1)
call fcn.00404b30
mov edi, eax
mov edx, 0x6681c4
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
lea edx, [ebp - 0x70]
mov eax, edi
call fcn.0042007c
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov ecx, 0
call fcn.00407988
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
cmp byte [ebp - 0x49], 0
je 0x667c5d
cmp word [esi + 0x50a], 0
je 0x667b35
xor ecx, ecx
mov edx, esi
mov eax, dword [esi + 0x50c]
call dword [esi + 0x508]
mov edx, 0x6681d8
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
mov eax, dword [ebp - 0x28]
call fcn.0040907c
test eax, eax
jl 0x667c36
inc eax
mov dword [ebp - 0x5c], eax
xor ebx, ebx
cmp word [esi + 0x4e2], 0
je 0x667b79
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx*4]
push eax
xor ecx, ecx
mov edx, esi
mov eax, dword [esi + 0x4e4]
call dword [esi + 0x4e0]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx*4]
call fcn.00638aa0
mov byte [ebp - 0x51], al
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx*4]
movzx eax, byte [eax + 0x30]
mov byte [ebp - 0x52], al
cmp byte [ebp - 0x52], 0
je 0x667ba2
lea eax, [ebp - 0x51]
call fcn.00497d84
movzx eax, byte [ebp - 0x51]
sub al, 1
jb 0x667bb2
je 0x667bc1
dec al
je 0x667bd0
jmp 0x667bdd
mov edx, 0x6681f0
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
jmp 0x667bdd
mov edx, 0x668200
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
jmp 0x667bdd
mov edx, 0x668210
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
push ebp
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx*4]
lea edx, [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x74]
mov edx, dword [esi + 0x284]
mov edx, dword [edx + 0x10]
call fcn.00667644
pop ecx
mov edx, 0x668220
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
cmp word [esi + 0x4f2], 0
je 0x667c2c
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx*4]
push eax
xor ecx, ecx
mov edx, esi
mov eax, dword [esi + 0x4f4]
call dword [esi + 0x4f0]
inc ebx
dec dword [ebp - 0x5c]
jne 0x667b58
mov edx, 0x668234
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
cmp word [esi + 0x512], 0
je 0x667c5d
xor ecx, ecx
mov edx, esi
mov eax, dword [esi + 0x514]
call dword [esi + 0x510]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x667edc
mov edx, dword [ebp - 0x40]
mov eax, esi
call fcn.006671e0
test al, al
je 0x667c9d
cmp word [esi + 0x4ca], 0
je 0x667cb0
mov eax, dword [ebp - 0x40]
push eax
xor ecx, ecx
mov edx, esi
mov eax, dword [esi + 0x4cc]
call dword [esi + 0x4c8]
test al, al
jne 0x667cb0
xor ecx, ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
call dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
jmp 0x667ed2
xor ebx, ebx
jmp 0x667e77
cmp byte [ebp - 0x49], 0
je 0x667ce7
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx*4]
call fcn.0044abb0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx*4]
movzx eax, byte [eax + 0x44]
mov byte [ebp - 0x51], al
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx*4]
movzx eax, byte [eax + 0x30]
mov byte [ebp - 0x52], al
jmp 0x667cff
mov dword [ebp - 0x50], 0xffffffff
movzx eax, byte [esi + 0x412]
mov byte [ebp - 0x51], al
movzx eax, byte [esi + 0x69]
mov byte [ebp - 0x52], al
cmp byte [ebp - 0x49], 0
je 0x667d15
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx*4]
test byte [eax + 0x3c], 0x80
je 0x667e70
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x40]
mov eax, esi
call fcn.006634d0
mov edx, 0x6681d8
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
cmp byte [ebp - 0x52], 0
je 0x667d41
lea eax, [ebp - 0x51]
call fcn.00497d84
movzx eax, byte [ebp - 0x51]
dec al
je 0x667d4f
dec al
je 0x667d5e
jmp 0x667d6b
mov edx, 0x668200
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
jmp 0x667d6b
mov edx, 0x668210
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
mov edx, dword [esi + 0x6c]
mov eax, dword [esi + 0x278]
call fcn.00473300
mov byte [esi + 0x871], 0
mov eax, dword [ebp - 0x50]
push eax
push 0
mov ecx, dword [esi + 0x278]
mov edx, dword [ebp - 0x40]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x4a8]
mov eax, dword [esi + 0x284]
call fcn.0063ccbc
cmp eax, dword [ebp - 0x50]
jne 0x667e50
mov edx, dword [ebp - 0x40]
mov eax, esi
call fcn.0065b488
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
je 0x667dee
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x20]
call fcn.00406e58
mov eax, dword [ebp - 0x30]
dec eax
test eax, eax
jl 0x667dee
inc eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x20]
mov edx, 0x668248
call fcn.00407668
dec dword [ebp - 0x5c]
jne 0x667ddc
cmp dword [ebp - 0x30], 0
jle 0x667e2e
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
mov edx, 0x66825c
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
push ebp
mov eax, dword [esi + 0x278]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x24]
call fcn.00667644
pop ecx
mov edx, 0x668220
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
jmp 0x667e70
push ebp
mov eax, dword [esi + 0x278]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x24]
call fcn.00667644
pop ecx
mov edx, 0x668220
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
jmp 0x667e70
push ebp
mov eax, dword [esi + 0x278]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x24]
call fcn.00667644
pop ecx
mov edx, 0x668220
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
cmp byte [ebp - 0x49], 0
je 0x667e91
inc ebx
cmp byte [ebp - 0x49], 0
je 0x667cb7
mov eax, dword [ebp - 0x28]
call fcn.00409074
cmp ebx, eax
jl 0x667cb7
mov edx, 0x668234
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
mov eax, dword [ebp - 0xc]
call fcn.00634c74
cmp word [esi + 0x4da], 0
je 0x667ec4
mov eax, dword [ebp - 0x40]
push eax
xor ecx, ecx
mov edx, esi
mov eax, dword [esi + 0x4dc]
call dword [esi + 0x4d8]
xor ecx, ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
call dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x667c6d
mov edx, 0x66826c
mov eax, dword [ebp - 0xc]
call fcn.00634bfc
lea eax, [ebp - 0x1c]
mov edx, 0x668284
call fcn.004072f8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x667f7d
inc eax
mov dword [ebp - 0x5c], eax
xor ebx, ebx
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x1c]
call fcn.00407d1c
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x88], 0
lea ecx, [ebp - 0x90]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0x11
lea edx, [ebp - 0x8c]
mov ecx, 1
mov eax, 0x6682c4
call fcn.004212fc
mov edx, dword [ebp - 0x7c]
pop eax
call fcn.00407e58
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x1c]
mov ecx, 0
call fcn.00407988
inc ebx
dec dword [ebp - 0x5c]
jne 0x667f09
lea eax, [ebp - 0x1c]
mov edx, 0x6682e8
call fcn.00407668
lea eax, [ebp - 0x1c]
mov edx, 0x6682f8
call fcn.00407668
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x66805d
inc eax
mov dword [ebp - 0x5c], eax
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0044924c
call fcn.00470e5c
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x1c]
call fcn.00407d1c
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x38]
and eax, 0xff
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0
mov eax, dword [ebp - 0x38]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xa4], 0
mov eax, dword [ebp - 0x38]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0x9c], 0
lea edx, [ebp - 0xb0]
mov ecx, 2
mov eax, 0x668310
call fcn.004212fc
mov edx, dword [ebp - 0x98]
pop eax
call fcn.00407e58
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x1c]
mov ecx, 0
call fcn.00407988
inc ebx
dec dword [ebp - 0x5c]
jne 0x667fac
lea eax, [ebp - 0x1c]
mov edx, 0x6682e8
call fcn.00407668
push 2
lea eax, [ebp - 0x56]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x668096
cmp word [ebp - 0x56], 0x30
jne 0x668096
lea eax, [ebp - 0x1c]
mov edx, 0x66834c
call fcn.00407668
jmp 0x6680a3
lea eax, [ebp - 0x1c]
mov edx, 0x668374
call fcn.00407668
lea eax, [ebp - 0x1c]
mov edx, 0x66839c
call fcn.00407668
push dword [ebp - 0x1c]
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
call fcn.00634be4
push dword [ebp - 0xb4]
push 0x6682e8
mov eax, dword [ebp - 0x2c]
mov edx, 3
call fcn.00407744
mov eax, dword [ebp - 4]
call fcn.00405190
mov eax, dword [ebp - 0x10]
call fcn.00405190
mov edx, dword [esi + 0x278]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x3d8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x668116
mov eax, dword [ebp - 0xc]
call fcn.00405190
ret