Function at 0x4aade3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580966
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x732480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x4c], 0
mov eax, dword [0x737abc]
mov dword [ebp - 4], 0
cmp eax, 0xfffffffe
jg 0x4aab00
xor edi, edi
jmp 0x4aab25
mov eax, dword fs:[0x2c]
mov ecx, dword [0x73829c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x737ac0]
cmp eax, dword [ecx + 8]
jg 0x4ab0e8
mov edi, 0x72fcf8
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x28
ja case.0x4aab31.27
jmp dword [ebx*4 + 0x4ab148]
push 0
push 0xe
push esi
mov ecx, edi
call fcn.004a9720
jmp 0x4ab0a4
push 0
push 0xf
push esi
mov ecx, edi
call fcn.004a9720
jmp 0x4ab0a4
push 0
push 0x51
push esi
mov ecx, edi
call fcn.004a9720
jmp 0x4ab0a4
push 0
push 0x50
push esi
mov ecx, edi
call fcn.004a9720
jmp 0x4ab0a4
push 0
push esi
mov ecx, edi
call fcn.004a9bf0
jmp 0x4ab0a4
push 1
push esi
mov ecx, edi
call fcn.004a9bf0
jmp 0x4ab0a4
push 0
push esi
mov ecx, edi
call fcn.004ab5c0
jmp 0x4ab0a4
push 1
push esi
mov ecx, edi
call fcn.004ab5c0
jmp 0x4ab0a4
push 0
push esi
mov ecx, edi
call fcn.004a9dd0
jmp 0x4ab0a4
push 1
push esi
mov ecx, edi
call fcn.004a9dd0
jmp 0x4ab0a4
push 0
push 0
lea ecx, [ebp + 0x10]
call fcn.004a7670
push eax
push esi
mov ecx, edi
call fcn.004a9f20
jmp 0x4ab0a4
push 1
jmp 0x4aabd8
push 0
push 0
lea ecx, [ebp + 0x10]
call fcn.004a7670
push eax
push esi
mov ecx, edi
call fcn.004aa940
jmp 0x4ab0a4
push 0
push 0
lea ecx, [ebp + 0x10]
call fcn.004a7670
push eax
push esi
mov ecx, edi
call fcn.004ab1f0
jmp 0x4ab0a4
push 1
jmp 0x4aabf6
push 1
jmp 0x4aac10
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0x10]
call fcn.004a7410
push 1
mov ecx, edi
push dword [eax + 4]
push dword [eax]
push esi
call fcn.004abe90
jmp 0x4ab0a4
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0x10]
call fcn.004a7410
push 0
mov ecx, edi
push dword [eax + 4]
push dword [eax]
push esi
call fcn.004abe90
jmp 0x4ab0a4
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 0x10]
call fcn.004a8030
push 1
mov ecx, edi
push dword [eax]
push esi
call fcn.004ac020
jmp 0x4ab0a4
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 0x10]
call fcn.004a8030
push 0
mov ecx, edi
push dword [eax]
push esi
call fcn.004ac020
jmp 0x4ab0a4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x10]
call fcn.004a74e0
mov byte [ebp - 4], 1
push 1
push eax
push esi
mov ecx, edi
call fcn.004abd10
lea ecx, [ebp - 0x40]
call fcn.004811e0
jmp 0x4ab0a4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x10]
call fcn.004a74e0
mov byte [ebp - 4], 2
push 0
jmp 0x4aacbc
push esi
mov ecx, edi
call fcn.004acd00
jmp 0x4ab0a4
lea eax, [ebp - 0x50]
push 0x400
push eax
call fcn.004aa1a0
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
call fcn.00411f90
add esp, 0x10
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00411600
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00440490
add esp, 0x10
test ebx, ebx
jne 0x4aad51
push dword [ebp - 0x54]
mov ecx, esi
call fcn.004a4080
lea ecx, [ebp - 0x3c]
call fcn.00406190
jmp 0x4ab0a4
cmp ebx, 0x22
jne 0x4aada6
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4aad7e
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, 2
mov byte [ebp - 4], 6
mov ecx, eax
mov dword [ebp - 0x4c], ebx
call fcn.004421d0
jmp 0x4aad81
mov ebx, dword [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.004a4080
or ebx, 1
test bl, 2
je 0x4aad99
lea ecx, [ebp - 0x40]
call fcn.0043d260
lea ecx, [ebp - 0x3c]
call fcn.00406190
jmp 0x4ab0a4
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x4aadce
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0043e060
push eax
mov ecx, esi
call fcn.004a4080
jmp 0x4aad91
push eax
mov ecx, esi
call fcn.004a4080
lea ecx, [ebp - 0x3c]
call fcn.00406190
jmp 0x4ab0a4
push 2
lea eax, [ebp - 0x44]
push eax
push 0xd
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4aae9c
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00435080
add esp, 0xc
push 0x604340
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.00427c30
test al, al
je 0x4aae69
push 1
mov ecx, esi
call fcn.004a4080
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x4aae55
cmp eax, 0xffffffff
je 0x4ab0a4
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4ab0a4
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00425140
add esp, 0xc
jmp 0x4ab0a4
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x4aae8d
cmp eax, 0xffffffff
je 0x4aae9c
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4aae9c
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00425140
add esp, 0xc
push 0
mov ecx, esi
call fcn.004a4080
jmp 0x4ab0a4
push 0
push 0x7b
push esi
mov ecx, edi
call fcn.004a9720
jmp 0x4ab0a4
push 0xf
lea eax, [ebp - 0x38]
push eax
push 0x28
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je case.0x4aab31.27
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00435080
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.004a3fb0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x4aaf19
cmp eax, 0xffffffff
je 0x4ab0a4
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4ab0a4
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00425140
add esp, 0xc
jmp 0x4ab0a4
push 0xf
lea eax, [ebp - 0x38]
push eax
push 0x29
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je case.0x4aab31.27
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00435080
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.004a3fb0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x4aaf8b
cmp eax, 0xffffffff
je 0x4ab0a4
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4ab0a4
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00425140
add esp, 0xc
jmp 0x4ab0a4
push 4
lea eax, [ebp - 0x18]
push eax
push 0x100c
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4ab01c
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00435080
add esp, 0xc
push 0xa
push 0
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0042ecd0
inc eax
mov ecx, esi
push eax
call fcn.004a4100
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x4ab008
cmp eax, 0xffffffff
je 0x4ab0a4
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4ab0a4
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00425140
add esp, 0xc
jmp 0x4ab0a4
push 1
mov ecx, esi
call fcn.004a4080
jmp 0x4ab0a4
push 0
lea ecx, [ebp + 0x10]
call fcn.004a80e0
push eax
push esi
mov ecx, edi
call fcn.004a99a0
jmp 0x4ab0a4
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004aa7d0
add esp, 8
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xc
push eax
push esi
mov ecx, edi
call fcn.004ab7a0
lea ecx, [ebp - 0x34]
call fcn.0043d2c0
jmp 0x4ab0a4
push esi
mov ecx, edi
call fcn.004ac2b0
jmp 0x4ab0a4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 0
lea ecx, [edi + 8]
mov dword [edi], eax
mov dword [edi + 4], 0
call fcn.0042d9e0
mov eax, dword [esi + 8]
and eax, 0xc0000000
and eax, 0xbfffffff
or eax, 0x80000000
mov dword [esi + 8], eax
mov dword [esi], 0
lea ecx, [ebp + 0x10]
call fcn.004a4350
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553392
mov esp, ebp
pop ebp
ret 0x18
push 0
push 4
push esi
mov ecx, edi
call fcn.004a9720
jmp 0x4ab0a4
push 0
push 8
push esi
mov ecx, edi
call fcn.004a9720
jmp 0x4ab0a4
push 0x737ac0
call fcn.00553695
add esp, 4
cmp dword [0x737ac0], 0xffffffff
jne 0x4aab20
mov dword [0x72fcfc], 0
mov dword [0x72fd00], 0x71f078
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [0x72fcf8], eax
push 0x588d20
mov dword [0x737abc], 0xffffffff
call fcn.00553604
push 0x737ac0
call fcn.00553644
add esp, 8
jmp 0x4aab20