Function at 0x4886ed
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553446
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6f9540]
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 [0x6fea18]
mov dword [ebp - 4], 0
cmp eax, 0xfffffffe
jg 0x4882c0
xor edi, edi
jmp 0x4882e5
mov eax, dword fs:[0x2c]
mov ecx, dword [0x6ff1e0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x6fea1c]
cmp eax, dword [ecx + 8]
jg 0x4888a8
mov edi, 0x6f6e58
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x28
ja case.0x4882f1.27
jmp dword [ebx*4 + 0x488908]
push 0
push 0xe
push esi
mov ecx, edi
call fcn.00486ee0
jmp 0x488864
push 0
push 0xf
push esi
mov ecx, edi
call fcn.00486ee0
jmp 0x488864
push 0
push 0x51
push esi
mov ecx, edi
call fcn.00486ee0
jmp 0x488864
push 0
push 0x50
push esi
mov ecx, edi
call fcn.00486ee0
jmp 0x488864
push 0
push esi
mov ecx, edi
call fcn.004873b0
jmp 0x488864
push 1
push esi
mov ecx, edi
call fcn.004873b0
jmp 0x488864
push 0
push esi
mov ecx, edi
call fcn.00488d80
jmp 0x488864
push 1
push esi
mov ecx, edi
call fcn.00488d80
jmp 0x488864
push 0
push esi
mov ecx, edi
call fcn.00487590
jmp 0x488864
push 1
push esi
mov ecx, edi
call fcn.00487590
jmp 0x488864
push 0
push 0
lea ecx, [ebp + 0x10]
call fcn.00484e30
push eax
push esi
mov ecx, edi
call fcn.004876e0
jmp 0x488864
push 1
jmp 0x488398
push 0
push 0
lea ecx, [ebp + 0x10]
call fcn.00484e30
push eax
push esi
mov ecx, edi
call fcn.00488100
jmp 0x488864
push 0
push 0
lea ecx, [ebp + 0x10]
call fcn.00484e30
push eax
push esi
mov ecx, edi
call fcn.004889b0
jmp 0x488864
push 1
jmp 0x4883b6
push 1
jmp 0x4883d0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0x10]
call fcn.00484bd0
push 1
mov ecx, edi
push dword [eax + 4]
push dword [eax]
push esi
call fcn.00489650
jmp 0x488864
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0x10]
call fcn.00484bd0
push 0
mov ecx, edi
push dword [eax + 4]
push dword [eax]
push esi
call fcn.00489650
jmp 0x488864
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 0x10]
call fcn.004857f0
push 1
mov ecx, edi
push dword [eax]
push esi
call fcn.004897e0
jmp 0x488864
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 0x10]
call fcn.004857f0
push 0
mov ecx, edi
push dword [eax]
push esi
call fcn.004897e0
jmp 0x488864
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x10]
call fcn.00484ca0
mov byte [ebp - 4], 1
push 1
push eax
push esi
mov ecx, edi
call fcn.004894d0
lea ecx, [ebp - 0x40]
call fcn.0045faa0
jmp 0x488864
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x10]
call fcn.00484ca0
mov byte [ebp - 4], 2
push 0
jmp 0x48847c
push esi
mov ecx, edi
call fcn.0048a4c0
jmp 0x488864
lea eax, [ebp - 0x50]
push 0x400
push eax
call fcn.00487960
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
call fcn.00434fe0
add esp, 0x10
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00405d60
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.00435110
add esp, 0x10
test ebx, ebx
jne 0x488511
push dword [ebp - 0x54]
mov ecx, esi
call fcn.00481840
lea ecx, [ebp - 0x3c]
call fcn.00401a70
jmp 0x488864
cmp ebx, 0x22
jne 0x488566
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x48853e
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.00436d40
jmp 0x488541
mov ebx, dword [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.00481840
or ebx, 1
test bl, 2
je 0x488559
lea ecx, [ebp - 0x40]
call fcn.00431db0
lea ecx, [ebp - 0x3c]
call fcn.00401a70
jmp 0x488864
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x48858e
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.00432bb0
push eax
mov ecx, esi
call fcn.00481840
jmp 0x488551
push eax
mov ecx, esi
call fcn.00481840
lea ecx, [ebp - 0x3c]
call fcn.00401a70
jmp 0x488864
push 2
lea eax, [ebp - 0x44]
push eax
push 0xd
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x48865c
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00420fa0
add esp, 0xc
push 0x61f0f0
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.00406660
test al, al
je 0x488629
push 1
mov ecx, esi
call fcn.00481840
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x488615
cmp eax, 0xffffffff
je 0x488864
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x488864
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00403d20
add esp, 0xc
jmp 0x488864
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x48864d
cmp eax, 0xffffffff
je 0x48865c
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x48865c
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00403d20
add esp, 0xc
push 0
mov ecx, esi
call fcn.00481840
jmp 0x488864
push 0
push 0x7b
push esi
mov ecx, edi
call fcn.00486ee0
jmp 0x488864
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.0x4882f1.27
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00420fa0
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00481770
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x4886d9
cmp eax, 0xffffffff
je 0x488864
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x488864
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00403d20
add esp, 0xc
jmp 0x488864
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.0x4882f1.27
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00420fa0
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.00481770
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x48874b
cmp eax, 0xffffffff
je 0x488864
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x488864
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00403d20
add esp, 0xc
jmp 0x488864
push 4
lea eax, [ebp - 0x18]
push eax
push 0x100c
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4887dc
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00420fa0
add esp, 0xc
push 0xa
push 0
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0040d2b0
inc eax
mov ecx, esi
push eax
call fcn.004818c0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x4887c8
cmp eax, 0xffffffff
je 0x488864
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x488864
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00403d20
add esp, 0xc
jmp 0x488864
push 1
mov ecx, esi
call fcn.00481840
jmp 0x488864
push 0
lea ecx, [ebp + 0x10]
call fcn.004858a0
push eax
push esi
mov ecx, edi
call fcn.00487160
jmp 0x488864
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00487f90
add esp, 8
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xc
push eax
push esi
mov ecx, edi
call fcn.00488f60
lea ecx, [ebp - 0x34]
call fcn.00431e10
jmp 0x488864
push esi
mov ecx, edi
call fcn.00489a70
jmp 0x488864
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 0
lea ecx, [edi + 8]
mov dword [edi], eax
mov dword [edi + 4], 0
call fcn.0040c2f0
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.00481b10
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.00524b20
mov esp, ebp
pop ebp
ret 0x18
push 0
push 4
push esi
mov ecx, edi
call fcn.00486ee0
jmp 0x488864
push 0
push 8
push esi
mov ecx, edi
call fcn.00486ee0
jmp 0x488864
push 0x6fea1c
call fcn.00524abc
add esp, 4
cmp dword [0x6fea1c], 0xffffffff
jne 0x4882e0
mov dword [0x6f6e5c], 0
mov dword [0x6f6e60], 0x6e6190
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [0x6f6e58], eax
push 0x559f50
mov dword [0x6fea18], 0xffffffff
call fcn.00524a2b
push 0x6fea1c
call fcn.00524a6b
add esp, 8
jmp 0x4882e0