Function at 0x488050
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5532d6
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6fb4c0]
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 [0x700998]
mov dword [ebp - 4], 0
cmp eax, 0xfffffffe
jg 0x4880a0
xor edi, edi
jmp 0x4880c5
mov eax, dword fs:[0x2c]
mov ecx, dword [0x701160]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x70099c]
cmp eax, dword [ecx + 8]
jg 0x488688
mov edi, 0x6f8dc4
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x28
ja case.0x4880d1.27
jmp dword [ebx*4 + 0x4886e8]
push 0
push 0xe
push esi
mov ecx, edi
call fcn.00486cc0
jmp 0x488644
push 0
push 0xf
push esi
mov ecx, edi
call fcn.00486cc0
jmp 0x488644
push 0
push 0x51
push esi
mov ecx, edi
call fcn.00486cc0
jmp 0x488644
push 0
push 0x50
push esi
mov ecx, edi
call fcn.00486cc0
jmp 0x488644
push 0
push esi
mov ecx, edi
call fcn.00487190
jmp 0x488644
push 1
push esi
mov ecx, edi
call fcn.00487190
jmp 0x488644
push 0
push esi
mov ecx, edi
call fcn.00488b60
jmp 0x488644
push 1
push esi
mov ecx, edi
call fcn.00488b60
jmp 0x488644
push 0
push esi
mov ecx, edi
call fcn.00487370
jmp 0x488644
push 1
push esi
mov ecx, edi
call fcn.00487370
jmp 0x488644
push 0
push 0
lea ecx, [ebp + 0x10]
call fcn.00484c00
push eax
push esi
mov ecx, edi
call fcn.004874c0
jmp 0x488644
push 1
jmp 0x488178
push 0
push 0
lea ecx, [ebp + 0x10]
call fcn.00484c00
push eax
push esi
mov ecx, edi
call fcn.00487ee0
jmp 0x488644
push 0
push 0
lea ecx, [ebp + 0x10]
call fcn.00484c00
push eax
push esi
mov ecx, edi
call fcn.00488790
jmp 0x488644
push 1
jmp 0x488196
push 1
jmp 0x4881b0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0x10]
call fcn.004849a0
push 1
mov ecx, edi
push dword [eax + 4]
push dword [eax]
push esi
call fcn.00489430
jmp 0x488644
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0x10]
call fcn.004849a0
push 0
mov ecx, edi
push dword [eax + 4]
push dword [eax]
push esi
call fcn.00489430
jmp 0x488644
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 0x10]
call fcn.004855c0
push 1
mov ecx, edi
push dword [eax]
push esi
call fcn.004895c0
jmp 0x488644
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 0x10]
call fcn.004855c0
push 0
mov ecx, edi
push dword [eax]
push esi
call fcn.004895c0
jmp 0x488644
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x10]
call fcn.00484a70
mov byte [ebp - 4], 1
push 1
push eax
push esi
mov ecx, edi
call fcn.004892b0
lea ecx, [ebp - 0x40]
call fcn.0045f860
jmp 0x488644
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x10]
call fcn.00484a70
mov byte [ebp - 4], 2
push 0
jmp 0x48825c
push esi
mov ecx, edi
call fcn.0048a2a0
jmp 0x488644
lea eax, [ebp - 0x50]
push 0x400
push eax
call fcn.00487740
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
call fcn.00434f00
add esp, 0x10
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.004056d0
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.00435030
add esp, 0x10
test ebx, ebx
jne 0x4882f1
push dword [ebp - 0x54]
mov ecx, esi
call fcn.00481610
lea ecx, [ebp - 0x3c]
call fcn.00401a70
jmp 0x488644
cmp ebx, 0x22
jne 0x488346
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x48831e
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.00436c60
jmp 0x488321
mov ebx, dword [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.00481610
or ebx, 1
test bl, 2
je 0x488339
lea ecx, [ebp - 0x40]
call fcn.00431cd0
lea ecx, [ebp - 0x3c]
call fcn.00401a70
jmp 0x488644
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x48836e
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.00432ad0
push eax
mov ecx, esi
call fcn.00481610
jmp 0x488331
push eax
mov ecx, esi
call fcn.00481610
lea ecx, [ebp - 0x3c]
call fcn.00401a70
jmp 0x488644
push 2
lea eax, [ebp - 0x44]
push eax
push 0xd
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x48843c
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00420d90
add esp, 0xc
push 0x61f2e0
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.00405fd0
test al, al
je 0x488409
push 1
mov ecx, esi
call fcn.00481610
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x4883f5
cmp eax, 0xffffffff
je 0x488644
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x488644
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00403690
add esp, 0xc
jmp 0x488644
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x48842d
cmp eax, 0xffffffff
je 0x48843c
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x48843c
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00403690
add esp, 0xc
push 0
mov ecx, esi
call fcn.00481610
jmp 0x488644
push 0
push 0x7b
push esi
mov ecx, edi
call fcn.00486cc0
jmp 0x488644
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.0x4880d1.27
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00420d90
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00481540
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x4884b9
cmp eax, 0xffffffff
je 0x488644
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x488644
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00403690
add esp, 0xc
jmp 0x488644
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.0x4880d1.27
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00420d90
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.00481540
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x48852b
cmp eax, 0xffffffff
je 0x488644
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x488644
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00403690
add esp, 0xc
jmp 0x488644
push 4
lea eax, [ebp - 0x18]
push eax
push 0x100c
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4885bc
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00420d90
add esp, 0xc
push 0xa
push 0
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0040cc20
inc eax
mov ecx, esi
push eax
call fcn.00481690
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x4885a8
cmp eax, 0xffffffff
je 0x488644
mov eax, dword [ebp - 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x488644
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00403690
add esp, 0xc
jmp 0x488644
push 1
mov ecx, esi
call fcn.00481610
jmp 0x488644
push 0
lea ecx, [ebp + 0x10]
call fcn.00485670
push eax
push esi
mov ecx, edi
call fcn.00486f40
jmp 0x488644
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00487d70
add esp, 8
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xc
push eax
push esi
mov ecx, edi
call fcn.00488d40
lea ecx, [ebp - 0x34]
call fcn.00431d30
jmp 0x488644
push esi
mov ecx, edi
call fcn.00489850
jmp 0x488644
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 0
lea ecx, [edi + 8]
mov dword [edi], eax
mov dword [edi + 4], 0
call fcn.0040bc60
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.004818e0
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.00524900
mov esp, ebp
pop ebp
ret 0x18
push 0
push 4
push esi
mov ecx, edi
call fcn.00486cc0
jmp 0x488644
push 0
push 8
push esi
mov ecx, edi
call fcn.00486cc0
jmp 0x488644
push 0x70099c
call fcn.0052489c
add esp, 4
cmp dword [0x70099c], 0xffffffff
jne 0x4880c0
mov dword [0x6f8dc8], 0
mov dword [0x6f8dcc], 0x6e80cc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [0x6f8dc4], eax
push 0x559de0
mov dword [0x700998], 0xffffffff
call fcn.0052480b
push 0x70099c
call fcn.0052484b
add esp, 8
jmp 0x4880c0