Function at 0x481f40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53250e
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x58e5a4]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x60], 0
call fcn.00410080
mov esi, dword [ebp + 0x10]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
or eax, esi
jne 0x481ff9
test ecx, ecx
je 0x482205
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 1
mov eax, 0x5629d0
mov ecx, ebx
test eax, 0xffff0000
jne 0x481fc1
movzx eax, ax
push eax
call fcn.0040cd60
jmp 0x481fcd
push 0
push 0x5629d0
call fcn.0040d3a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x60], 1
mov eax, ebx
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.004d2a60
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x482205
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 4], 3
mov eax, dword [ebp + 0xc]
test esi, esi
jne 0x482021
cmp eax, 0x1000
jbe 0x48203d
shrd eax, esi, 0xa
push 2
push 0x5432ac
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x54], eax
shr esi, 0xa
call fcn.0040d3a0
mov edi, dword [ebp - 0x5c]
cmp word [0x596910], 0
jne 0x48205b
push 0x10
push 0x596910
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
call fcn.00410080
test eax, eax
je 0x482205
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x54]
push esi
push eax
lea eax, [ebp - 0x58]
push str._I64d
push eax
call fcn.00431d90
mov esi, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
add esp, 0x10
push 0x20
push eax
push 0
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumberFormatEx]
test eax, eax
jne 0x4820de
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.0040c7c0
mov dword [ebp - 0x60], 1
mov byte [ebp - 4], 3
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4820d9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4821e1
call fcn.00410080
test eax, eax
je 0x482205
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x50]
test eax, 0xffff0000
jne 0x482114
movzx eax, ax
lea ecx, [ebp - 0x54]
push eax
call fcn.0040cd60
jmp 0x48213c
lea ecx, [ebp - 0x50]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482120
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.0040d3a0
mov byte [ebp - 4], 9
movzx eax, word [0x596910]
mov esi, dword [ebp - 0x54]
push eax
push esi
call fcn.004d5b9d
add esp, 8
test eax, eax
jne 0x48215d
or eax, 0xffffffff
jmp 0x482161
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x54]
call fcn.0041a230
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5c]
push ecx
push eax
push ebx
call fcn.0042a110
add esp, 0xc
mov dword [ebp - 0x60], 1
mov byte [ebp - 4], 9
or ebx, 0xffffffff
mov edx, dword [ebp - 0x64]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4821a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4821c3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4821e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4821fd
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x68]
jmp 0x481fdd
push 0x80004005
call fcn.0040fbc0
int3