Function at 0x481870
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c4a2
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x8870bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x74], edi
mov eax, dword [0x889354]
mov dword [ebp - 4], 0
cmp eax, 0xfffffffe
jg 0x4818be
xor esi, esi
jmp 0x4818e3
mov eax, dword fs:[0x2c]
mov ecx, dword [0x88d154]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x889358]
cmp eax, dword [ecx + 8]
jg 0x481fe4
mov esi, 0x886d54
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], esi
cmp eax, 0x28
ja case.0x4818f2.27
jmp dword [eax*4 + 0x482044]
push 0
push 0xe
push edi
mov ecx, esi
call fcn.00480540
jmp 0x481fa1
push 0
push 0xf
push edi
mov ecx, esi
call fcn.00480540
jmp 0x481fa1
push 0
push 0x51
push edi
mov ecx, esi
call fcn.00480540
jmp 0x481fa1
push 0
push 0x50
push edi
mov ecx, esi
call fcn.00480540
jmp 0x481fa1
push 0
push edi
mov ecx, esi
call fcn.00480b60
jmp 0x481fa1
push 1
push edi
mov ecx, esi
call fcn.00480b60
jmp 0x481fa1
push 0
push edi
mov ecx, esi
call fcn.004823d0
jmp 0x481fa1
push 1
push edi
mov ecx, esi
call fcn.004823d0
jmp 0x481fa1
push 0
push edi
mov ecx, esi
call fcn.00480d40
jmp 0x481fa1
push 1
push edi
mov ecx, esi
call fcn.00480d40
jmp 0x481fa1
push 0
push 0
lea ecx, [ebp + 0x10]
call fcn.0047e2c0
push eax
push edi
mov ecx, esi
call fcn.00480ea0
jmp 0x481fa1
push 1
jmp 0x481999
push 0
push 0
lea ecx, [ebp + 0x10]
call fcn.0047e2c0
push eax
push edi
mov ecx, esi
call fcn.00481770
jmp 0x481fa1
push 1
jmp 0x4819b7
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp + 0x10]
call fcn.0047e060
push 1
mov ecx, esi
push dword [eax + 4]
push dword [eax]
push edi
call fcn.00482d40
jmp 0x481fa1
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp + 0x10]
call fcn.0047e060
push 0
mov ecx, esi
push dword [eax + 4]
push dword [eax]
push edi
call fcn.00482d40
jmp 0x481fa1
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp + 0x10]
call fcn.0047ed20
push 1
mov ecx, esi
push dword [eax]
push edi
call fcn.00482ed0
jmp 0x481fa1
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp + 0x10]
call fcn.0047ed20
push 0
mov ecx, esi
push dword [eax]
push edi
call fcn.00482ed0
jmp 0x481fa1
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x10]
call fcn.0047e130
push 1
push eax
push edi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00482bc0
lea ecx, [ebp - 0x90]
call fcn.00449640
jmp 0x481fa1
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x10]
call fcn.0047e130
push 0
push eax
push edi
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00482bc0
lea ecx, [ebp - 0x94]
call fcn.00449640
jmp 0x481fa1
push edi
mov ecx, esi
call fcn.00483ab0
jmp 0x481fa1
lea eax, [ebp - 0x98]
push 0x400
push eax
call fcn.00481120
push eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
push eax
call fcn.00431b10
add esp, 0x10
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 5
call fcn.004011b0
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00431c50
add esp, 0x10
cmp dword [ebp + 0xc], 0
jne 0x481b34
push dword [ebp - 0x9c]
mov ecx, edi
call fcn.0047a970
lea ecx, [ebp - 0x60]
call fcn.004011e0
jmp 0x481fa1
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x481b7d
mov ecx, dword [ebp - 0xa4]
lea edx, [ebp - 0xa8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0042ff70
push eax
mov ecx, edi
call fcn.0047a970
lea ecx, [ebp - 0xa8]
call fcn.0042f100
lea ecx, [ebp - 0x60]
call fcn.004011e0
jmp 0x481fa1
push eax
mov ecx, edi
call fcn.0047a970
lea ecx, [ebp - 0x60]
call fcn.004011e0
jmp 0x481fa1
push 2
lea eax, [ebp - 0x74]
push eax
push 0xd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je case.0x4818f2.34
push 0xffffffffffffffff
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00457730
add esp, 0xc
push 0x7c315c
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.00403bb0
test al, al
je 0x481c1a
push 1
mov ecx, edi
call fcn.0047a970
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
test eax, eax
je 0x481c06
cmp eax, 0xffffffff
je 0x481fa1
mov eax, dword [ebp - 0x5c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x481fa1
push 4
push 2
push dword [ebp - 0x5c]
call fcn.004016c0
add esp, 0xc
jmp 0x481fa1
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x481c40
cmp eax, 0xffffffff
je case.0x4818f2.34
mov eax, dword [ebp - 0x5c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne case.0x4818f2.34
push 4
push 2
push dword [ebp - 0x5c]
call fcn.004016c0
add esp, 0xc
push 0
mov ecx, edi
call fcn.0047a970
jmp 0x481fa1
push 0
push 0x7b
push edi
mov ecx, esi
call fcn.00480540
jmp 0x481fa1
push 0xf
lea eax, [ebp - 0x38]
push eax
push 0x28
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je case.0x4818f2.27
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00457730
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0047a8a0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
test eax, eax
je 0x481cce
cmp eax, 0xffffffff
je 0x481fa1
mov eax, dword [ebp - 0x64]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x481fa1
push 4
push 2
push dword [ebp - 0x64]
call fcn.004016c0
add esp, 0xc
jmp 0x481fa1
push 0xf
lea eax, [ebp - 0x58]
push eax
push 0x29
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je case.0x4818f2.27
push 0xffffffffffffffff
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00457730
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.0047a8a0
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
test eax, eax
je 0x481d42
cmp eax, 0xffffffff
je 0x481fa1
mov eax, dword [ebp - 0x68]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x481fa1
push 4
push 2
push dword [ebp - 0x68]
call fcn.004016c0
add esp, 0xc
jmp 0x481fa1
push 4
lea eax, [ebp - 0x18]
push eax
push 0x100c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x481dd5
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00457730
add esp, 0xc
push 0xa
push 0
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0040b250
inc eax
mov ecx, edi
push eax
call fcn.0047a9f0
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
test eax, eax
je 0x481dc1
cmp eax, 0xffffffff
je 0x481fa1
mov eax, dword [ebp - 0x6c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x481fa1
push 4
push 2
push dword [ebp - 0x6c]
call fcn.004016c0
add esp, 0xc
jmp 0x481fa1
push 1
mov ecx, edi
call fcn.0047a970
jmp 0x481fa1
push 0
lea ecx, [ebp + 0x10]
call fcn.0047edd0
push eax
push edi
mov ecx, esi
call fcn.004808d0
jmp 0x481fa1
call fcn.00432f80
lea ecx, [ebp + 0x10]
mov esi, eax
call fcn.0047f170
cmp esi, eax
jne 0x481e4e
lea ecx, [ebp + 0x10]
call fcn.0047c2b0
mov esi, eax
lea ecx, [ebp - 0xc0]
push esi
call fcn.0047a650
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xb0], ecx
mov eax, dword [ecx]
test eax, eax
je 0x481f50
cmp eax, 0xffffffff
je 0x481f50
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x481f50
mov dword [ebp - 0x84], 0x80000000
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0x6f6ba0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0xb
push eax
push esi
lea ecx, [ebp + 0x10]
call fcn.0047c570
test al, al
je 0x481ef6
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xd4], 0x80000000
mov dword [ebp - 0xdc], 0
movups xmm0, xmmword [ebp - 0xdc]
mov dword [ebp - 0xb0], eax
mov eax, dword [0x6f6ba0]
mov dword [ebp - 0x7c], 0x6f6ba0
movups xmmword [ebp - 0x8c], xmm0
test eax, eax
je 0x481f36
cmp eax, 0xffffffff
je 0x481f45
or eax, 0xffffffff
mov ecx, 0x6f6ba0
lock xadd dword [ecx], eax
cmp eax, 1
jmp 0x481f2f
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xb8], 0x80000000
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xb0], 0x6f6ba0
mov eax, dword [eax]
test eax, eax
je 0x481f36
cmp eax, 0xffffffff
je 0x481f45
mov eax, dword [ebp - 0x7c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x481f45
push 4
push 2
push dword [ebp - 0x7c]
call fcn.004016c0
add esp, 0xc
lea ecx, [ebp - 0x8c]
call fcn.0047ac20
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0xc0]
push eax
push edi
mov byte [ebp - 4], 0xc
call fcn.004825b0
lea ecx, [ebp - 0xc0]
call fcn.0042f160
jmp 0x481fa1
push edi
mov ecx, esi
call fcn.00483070
jmp 0x481fa1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 0
lea ecx, [esi + 8]
mov dword [esi], eax
mov dword [esi + 4], 0
call fcn.0040a460
mov dword [edi + 8], 0x80000000
mov dword [edi], 0
lea ecx, [ebp + 0x10]
call fcn.0047ac20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00520afb
mov esp, ebp
pop ebp
ret 0x18
push 0
push 4
push edi
mov ecx, esi
call fcn.00480540
jmp 0x481fa1
push 0
push 8
push edi
mov ecx, esi
call fcn.00480540
jmp 0x481fa1
push 0x889358
call fcn.00521230
add esp, 4
cmp dword [0x889358], 0xffffffff
jne 0x4818de
mov dword [0x886d58], 0
mov dword [0x886d5c], 0x6f6ba0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [0x886d54], eax
push 0x553530
mov dword [0x889354], 0xffffffff
call fcn.00520d91
push 0x889358
call fcn.005211e6
add esp, 8
jmp 0x4818de