Function at 0x4a73c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x4a73c9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x19], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x4a7b8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x477eb8]
call fcn.00403f14
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a7b1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x208]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x394]
mov dl, 1
mov eax, dword [0x419990]
call fcn.00403f14
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x419274]
call fcn.00403f14
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x54]
mov edx, dword [0x46f6b8]
call fcn.00406430
lea eax, [ebp - 0x48]
call fcn.00404db0
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x214]
call fcn.0048264c
mov byte [ebp - 0x4d], al
cmp byte [ebp - 0x4d], 0
je 0x4a748d
lea edx, [ebp - 0x54]
mov eax, dword [ebx + 0x214]
mov eax, dword [eax + 8]
call fcn.0048120c
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
mov dl, byte [ebp - 0x19]
mov eax, ebx
call fcn.004a3558
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov edx, 0x4a7ba4
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [ebp - 0x4d], 0
je 0x4a7528
mov eax, dword [ebp - 0x54]
call fcn.00406150
test eax, eax
jl 0x4a7570
inc eax
mov dword [ebp - 0x60], eax
xor esi, esi
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x18]
add dword [ebp - 0x2c], eax
imul eax, dword [ebp - 0x2c], 0x5a0
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
mov eax, dword [0x564398]
mov eax, dword [eax]
fild dword [eax + 0x40]
fdivp st(1)
call fcn.004031f0
mov edi, eax
mov edx, 0x4a7bc0
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
lea edx, [ebp - 0x68]
mov eax, edi
call fcn.00409c7c
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
inc esi
dec dword [ebp - 0x60]
jne 0x4a74d2
jmp 0x4a7570
mov eax, ebx
call fcn.00447508
imul eax, eax, 0x5a0
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
mov eax, dword [0x564398]
mov eax, dword [eax]
fild dword [eax + 0x40]
fdivp st(1)
call fcn.004031f0
mov edi, eax
mov edx, 0x4a7bc0
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
lea edx, [ebp - 0x6c]
mov eax, edi
call fcn.00409c7c
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
cmp byte [ebp - 0x4d], 0
je 0x4a76ba
cmp word [ebx + 0x49a], 0
je 0x4a7594
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x49c]
call dword [ebx + 0x498]
mov edx, 0x4a7bd0
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
mov eax, dword [ebp - 0x54]
call fcn.00406150
test eax, eax
jl 0x4a7693
inc eax
mov dword [ebp - 0x60], eax
xor esi, esi
cmp word [ebx + 0x472], 0
je 0x4a75d8
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + esi*4]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x474]
call dword [ebx + 0x470]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + esi*4]
call fcn.0047e474
mov byte [ebp - 0x59], al
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + esi*4]
mov al, byte [eax + 0x30]
mov byte [ebp - 0x5a], al
cmp byte [ebp - 0x5a], 0
je 0x4a7600
lea eax, [ebp - 0x59]
call fcn.00444874
mov al, byte [ebp - 0x59]
sub al, 1
jb 0x4a760f
je 0x4a761e
dec al
je 0x4a762d
jmp 0x4a763a
mov edx, 0x4a7be4
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
jmp 0x4a763a
mov edx, 0x4a7bf0
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
jmp 0x4a763a
mov edx, 0x4a7bfc
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
push ebp
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + esi*4]
lea edx, [ebp - 0x70]
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x70]
mov edx, dword [ebx + 0x214]
mov edx, dword [edx + 0x10]
call fcn.004a7124
pop ecx
mov edx, 0x4a7c08
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
cmp word [ebx + 0x482], 0
je 0x4a7689
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + esi*4]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x484]
call dword [ebx + 0x480]
inc esi
dec dword [ebp - 0x60]
jne 0x4a75b7
mov edx, 0x4a7c18
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
cmp word [ebx + 0x4a2], 0
je 0x4a76ba
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x4a4]
call dword [ebx + 0x4a0]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4a7934
mov edx, dword [ebp - 0x34]
mov eax, ebx
call fcn.004a6d18
test al, al
je 0x4a76fa
cmp word [ebx + 0x45a], 0
je 0x4a770d
mov eax, dword [ebp - 0x34]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x45c]
call dword [ebx + 0x458]
test al, al
jne 0x4a770d
xor ecx, ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
call dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
jmp 0x4a792a
xor esi, esi
jmp 0x4a78cf
cmp byte [ebp - 0x4d], 0
je 0x4a7742
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + esi*4]
call fcn.0041ccf0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + esi*4]
mov al, byte [eax + 0x48]
mov byte [ebp - 0x59], al
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + esi*4]
mov al, byte [eax + 0x30]
mov byte [ebp - 0x5a], al
jmp 0x4a7758
mov dword [ebp - 0x58], 0xffffffff
mov al, byte [ebx + 0x3a2]
mov byte [ebp - 0x59], al
mov al, byte [ebx + 0x5f]
mov byte [ebp - 0x5a], al
cmp byte [ebp - 0x4d], 0
je 0x4a776e
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + esi*4]
test byte [eax + 0x3c], 0x80
je 0x4a78c8
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x34]
mov eax, ebx
call fcn.004a3684
mov edx, 0x4a7bd0
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
cmp byte [ebp - 0x5a], 0
je 0x4a779a
lea eax, [ebp - 0x59]
call fcn.00444874
mov al, byte [ebp - 0x59]
dec al
je 0x4a77a7
dec al
je 0x4a77b6
jmp 0x4a77c3
mov edx, 0x4a7bf0
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
jmp 0x4a77c3
mov edx, 0x4a7bfc
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x208]
call fcn.004299a8
mov byte [ebx + 0x7f9], 0
mov eax, dword [ebp - 0x58]
push eax
push 0
mov ecx, dword [ebx + 0x208]
mov edx, dword [ebp - 0x34]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x478]
mov eax, dword [ebx + 0x214]
call fcn.00482630
cmp eax, dword [ebp - 0x58]
jne 0x4a78a8
mov edx, dword [ebp - 0x34]
mov eax, ebx
call fcn.0049d7dc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
je 0x4a7846
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x48]
call fcn.00404db0
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jl 0x4a7846
inc eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x48]
mov edx, 0x4a7c28
call fcn.00405088
dec dword [ebp - 0x60]
jne 0x4a7834
cmp dword [ebp - 0x24], 0
jle 0x4a7886
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
mov edx, 0x4a7c38
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
push ebp
mov eax, dword [ebx + 0x208]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x4c]
call fcn.004a7124
pop ecx
mov edx, 0x4a7c08
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
jmp 0x4a78c8
push ebp
mov eax, dword [ebx + 0x208]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x4c]
call fcn.004a7124
pop ecx
mov edx, 0x4a7c08
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
jmp 0x4a78c8
push ebp
mov eax, dword [ebx + 0x208]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x4c]
call fcn.004a7124
pop ecx
mov edx, 0x4a7c08
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
cmp byte [ebp - 0x4d], 0
je 0x4a78e9
inc esi
cmp byte [ebp - 0x4d], 0
je 0x4a7714
mov eax, dword [ebp - 0x54]
call fcn.00406148
cmp esi, eax
jl 0x4a7714
mov edx, 0x4a7c18
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
mov eax, dword [ebp - 0xc]
call fcn.0047aac4
cmp word [ebx + 0x46a], 0
je 0x4a791c
mov eax, dword [ebp - 0x34]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x46c]
call dword [ebx + 0x468]
xor ecx, ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
call dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x4a76ca
mov edx, 0x4a7c44
mov eax, dword [ebp - 0xc]
call fcn.0047aa08
lea eax, [ebp - 0x44]
mov edx, 0x4a7c58
call fcn.00404e48
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a79b2
inc eax
mov dword [ebp - 0x60], eax
xor esi, esi
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x84], esi
mov byte [ebp - 0x80], 0
lea ecx, [ebp - 0x88]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0xb
lea edx, [ebp - 0x84]
mov ecx, 1
mov eax, 0x4a7c94
call fcn.0040b19c
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x44]
call fcn.00405088
inc esi
dec dword [ebp - 0x60]
jne 0x4a7961
lea eax, [ebp - 0x44]
mov edx, 0x4a7ca8
call fcn.00405088
lea eax, [ebp - 0x44]
mov edx, 0x4a7cb4
call fcn.00405088
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4a7a6c
inc eax
mov dword [ebp - 0x60], eax
xor esi, esi
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.0041bcd4
call fcn.004281cc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x2c]
and eax, 0xff
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xa0], 0
mov eax, dword [ebp - 0x2c]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
mov eax, dword [ebp - 0x2c]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0
lea edx, [ebp - 0xa4]
mov ecx, 2
mov eax, 0x4a7cc8
call fcn.0040b19c
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x44]
call fcn.00405088
inc esi
dec dword [ebp - 0x60]
jne 0x4a79e1
lea eax, [ebp - 0x44]
mov edx, 0x4a7ca8
call fcn.00405088
push 2
lea eax, [ebp - 0x5c]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x4a7aa4
cmp byte [ebp - 0x5c], 0x30
jne 0x4a7aa4
lea eax, [ebp - 0x44]
mov edx, 0x4a7ce8
call fcn.00405088
jmp 0x4a7ab1
lea eax, [ebp - 0x44]
mov edx, 0x4a7d0c
call fcn.00405088
lea eax, [ebp - 0x44]
mov edx, 0x4a7d30
call fcn.00405088
push dword [ebp - 0x44]
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0xc]
call fcn.0047a9f0
push dword [ebp - 0xa8]
push 0x4a7ca8
mov eax, dword [ebp - 0x20]
mov edx, 3
call fcn.00405140
mov eax, dword [ebp - 4]
call fcn.00403f44
mov eax, dword [ebp - 0x10]
call fcn.00403f44
mov edx, dword [ebx + 0x208]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x3a8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7b24
mov eax, dword [ebp - 0xc]
call fcn.00403f44
ret