Function at 0x4a4650
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x19], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x4a4dfa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4760f0]
call fcn.00403e50
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a4d9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x208]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x370]
mov dl, 1
mov eax, dword [0x4195a8]
call fcn.00403e50
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x418e8c]
call fcn.00403e50
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x50]
mov edx, dword [0x46d734]
call fcn.00406278
lea eax, [ebp - 0x40]
call fcn.00404d0c
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x214]
call fcn.004806e0
mov byte [ebp - 0x49], al
cmp byte [ebp - 0x49], 0
je 0x4a4738
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 0x214]
mov eax, dword [eax + 8]
call fcn.0047f3e8
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
mov dl, byte [ebp - 0x19]
mov eax, ebx
call fcn.004a0e38
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov edx, 0x4a4e10
mov eax, dword [ebp - 0xc]
call fcn.00478f98
xor edi, edi
cmp byte [ebp - 0x49], 0
je 0x4a47ce
mov eax, dword [ebp - 0x50]
call fcn.00405f98
test eax, eax
jl 0x4a4818
inc eax
mov dword [ebp - 0x5c], eax
xor esi, esi
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
add edi, dword [eax + 0x18]
imul eax, edi, 0x5a0
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
mov eax, dword [0x526c84]
mov eax, dword [eax]
fild dword [eax + 0x40]
fdivp st(1)
call fcn.0040312c
mov dword [ebp - 0x48], eax
mov edx, 0x4a4e2c
mov eax, dword [ebp - 0xc]
call fcn.00478f98
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x48]
call fcn.00409990
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0xc]
call fcn.00478f98
inc esi
dec dword [ebp - 0x5c]
jne 0x4a477a
jmp 0x4a4818
mov eax, ebx
call fcn.00446fd8
imul eax, eax, 0x5a0
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
mov eax, dword [0x526c84]
mov eax, dword [eax]
fild dword [eax + 0x40]
fdivp st(1)
call fcn.0040312c
mov dword [ebp - 0x48], eax
mov edx, 0x4a4e2c
mov eax, dword [ebp - 0xc]
call fcn.00478f98
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x48]
call fcn.00409990
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0xc]
call fcn.00478f98
cmp byte [ebp - 0x49], 0
je 0x4a495a
cmp word [ebx + 0x492], 0
je 0x4a483c
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x494]
call dword [ebx + 0x490]
mov edx, 0x4a4e3c
mov eax, dword [ebp - 0xc]
call fcn.00478f98
mov eax, dword [ebp - 0x50]
call fcn.00405f98
test eax, eax
jl 0x4a4933
inc eax
mov dword [ebp - 0x5c], eax
xor esi, esi
cmp word [ebx + 0x46a], 0
je 0x4a4880
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x46c]
call dword [ebx + 0x468]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
call fcn.0047c884
mov byte [ebp - 0x55], al
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
mov al, byte [eax + 0x30]
mov byte [ebp - 0x56], al
cmp byte [ebp - 0x56], 0
je 0x4a48a8
lea eax, [ebp - 0x55]
call fcn.00444344
mov al, byte [ebp - 0x55]
sub al, 1
jb 0x4a48b7
je 0x4a48c6
dec al
je 0x4a48d5
jmp 0x4a48e2
mov edx, 0x4a4e50
mov eax, dword [ebp - 0xc]
call fcn.00478f98
jmp 0x4a48e2
mov edx, 0x4a4e5c
mov eax, dword [ebp - 0xc]
call fcn.00478f98
jmp 0x4a48e2
mov edx, 0x4a4e68
mov eax, dword [ebp - 0xc]
call fcn.00478f98
push ebp
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x214]
mov edx, dword [edx + 0x10]
call fcn.004a43b4
pop ecx
mov edx, 0x4a4e74
mov eax, dword [ebp - 0xc]
call fcn.00478f98
cmp word [ebx + 0x47a], 0
je 0x4a4929
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x47c]
call dword [ebx + 0x478]
inc esi
dec dword [ebp - 0x5c]
jne 0x4a485f
mov edx, 0x4a4e84
mov eax, dword [ebp - 0xc]
call fcn.00478f98
cmp word [ebx + 0x49a], 0
je 0x4a495a
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x49c]
call dword [ebx + 0x498]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4a4bc2
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.004a41c8
test al, al
je 0x4a499a
cmp word [ebx + 0x452], 0
je 0x4a49ad
mov eax, dword [ebp - 0x2c]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x454]
call dword [ebx + 0x450]
test al, al
jne 0x4a49ad
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
call dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
jmp 0x4a4bb8
xor esi, esi
jmp 0x4a4b65
cmp byte [ebp - 0x49], 0
je 0x4a49e2
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
call fcn.0041c908
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
mov al, byte [eax + 0x44]
mov byte [ebp - 0x55], al
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
mov al, byte [eax + 0x30]
mov byte [ebp - 0x56], al
jmp 0x4a49f8
mov dword [ebp - 0x54], 0xffffffff
mov al, byte [ebx + 0x3a6]
mov byte [ebp - 0x55], al
mov al, byte [ebx + 0x5f]
mov byte [ebp - 0x56], al
cmp byte [ebp - 0x49], 0
je 0x4a4a0e
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
test byte [eax + 0x3c], 0x80
je 0x4a4b5e
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.004a0f20
mov edx, 0x4a4e3c
mov eax, dword [ebp - 0xc]
call fcn.00478f98
cmp byte [ebp - 0x56], 0
je 0x4a4a3a
lea eax, [ebp - 0x55]
call fcn.00444344
mov al, byte [ebp - 0x55]
dec al
je 0x4a4a47
dec al
je 0x4a4a56
jmp 0x4a4a63
mov edx, 0x4a4e5c
mov eax, dword [ebp - 0xc]
call fcn.00478f98
jmp 0x4a4a63
mov edx, 0x4a4e68
mov eax, dword [ebp - 0xc]
call fcn.00478f98
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x208]
call fcn.0042957c
mov byte [ebx + 0x390], 0
mov eax, dword [ebp - 0x54]
push eax
push 0
mov ecx, dword [ebx + 0x208]
mov edx, dword [ebp - 0x2c]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x43c]
mov eax, dword [ebx + 0x214]
call fcn.004806c4
cmp eax, dword [ebp - 0x54]
jne 0x4a4b3e
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.0049b210
mov edi, eax
cmp edi, dword [ebp - 0x24]
je 0x4a4ade
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x40]
call fcn.00404d0c
mov eax, edi
dec eax
test eax, eax
jl 0x4a4ade
inc eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x40]
mov edx, 0x4a4e94
call fcn.00404fe4
dec dword [ebp - 0x5c]
jne 0x4a4acc
test edi, edi
jle 0x4a4b1c
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0xc]
call fcn.00478f98
mov edx, 0x4a4ea4
mov eax, dword [ebp - 0xc]
call fcn.00478f98
push ebp
mov eax, dword [ebx + 0x208]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x44]
call fcn.004a43b4
pop ecx
mov edx, 0x4a4e74
mov eax, dword [ebp - 0xc]
call fcn.00478f98
jmp 0x4a4b5e
push ebp
mov eax, dword [ebx + 0x208]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x44]
call fcn.004a43b4
pop ecx
mov edx, 0x4a4e74
mov eax, dword [ebp - 0xc]
call fcn.00478f98
jmp 0x4a4b5e
push ebp
mov eax, dword [ebx + 0x208]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x44]
call fcn.004a43b4
pop ecx
mov edx, 0x4a4e74
mov eax, dword [ebp - 0xc]
call fcn.00478f98
cmp byte [ebp - 0x49], 0
je 0x4a4b7f
inc esi
cmp byte [ebp - 0x49], 0
je 0x4a49b4
mov eax, dword [ebp - 0x50]
call fcn.00405f90
cmp esi, eax
jl 0x4a49b4
mov edx, 0x4a4e84
mov eax, dword [ebp - 0xc]
call fcn.00478f98
cmp word [ebx + 0x462], 0
je 0x4a4baa
mov eax, dword [ebp - 0x2c]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0x464]
call dword [ebx + 0x460]
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
call dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4a496a
mov edx, 0x4a4eb0
mov eax, dword [ebp - 0xc]
call fcn.00478f98
lea eax, [ebp - 0x3c]
mov edx, 0x4a4ec4
call fcn.00404da4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a4c34
inc eax
mov dword [ebp - 0x5c], eax
xor esi, esi
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x7c], esi
mov byte [ebp - 0x78], 0
lea ecx, [ebp - 0x80]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0xb
lea edx, [ebp - 0x7c]
mov ecx, 1
mov eax, 0x4a4f00
call fcn.0040ae3c
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x3c]
call fcn.00404fe4
inc esi
dec dword [ebp - 0x5c]
jne 0x4a4bef
lea eax, [ebp - 0x3c]
mov edx, 0x4a4f14
call fcn.00404fe4
lea eax, [ebp - 0x3c]
mov edx, 0x4a4f20
call fcn.00404fe4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4a4ce9
inc eax
mov dword [ebp - 0x5c], eax
xor esi, esi
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.0041b8ec
call fcn.00427da0
mov edi, eax
lea eax, [ebp - 0x84]
push eax
mov eax, edi
and eax, 0xff
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
mov eax, edi
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0
shr edi, 0x10
and edi, 0xff
mov dword [ebp - 0x8c], edi
mov byte [ebp - 0x88], 0
lea edx, [ebp - 0x9c]
mov ecx, 2
mov eax, 0x4a4f34
call fcn.0040ae3c
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x3c]
call fcn.00404fe4
inc esi
dec dword [ebp - 0x5c]
jne 0x4a4c63
lea eax, [ebp - 0x3c]
mov edx, 0x4a4f14
call fcn.00404fe4
push 2
lea eax, [ebp - 0x58]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x4a4d21
cmp byte [ebp - 0x58], 0x30
jne 0x4a4d21
lea eax, [ebp - 0x3c]
mov edx, 0x4a4f54
call fcn.00404fe4
jmp 0x4a4d2e
lea eax, [ebp - 0x3c]
mov edx, 0x4a4f78
call fcn.00404fe4
lea eax, [ebp - 0x3c]
mov edx, 0x4a4f9c
call fcn.00404fe4
push dword [ebp - 0x3c]
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0xc]
call fcn.00478f80
push dword [ebp - 0xa0]
push 0x4a4f14
mov eax, dword [ebp - 0x20]
mov edx, 3
call fcn.0040509c
mov eax, dword [ebp - 4]
call fcn.00403e80
mov eax, dword [ebp - 0x10]
call fcn.00403e80
mov edx, dword [ebx + 0x208]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x380]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4da1
mov eax, dword [ebp - 0xc]
call fcn.00403e80
ret