Function at 0x4313c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a12c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4c9144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xb8]
test eax, eax
jne 0x431457
mov eax, dword [esi + 0xbc]
mov ecx, dword [esi + 4]
push eax
push 0
push 0x1032
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 0xfffffffe
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc0]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], 2
call fcn.00443850
call fcn.00443590
xor eax, eax
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.00487efe
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x43140e
lea edx, [ebp - 0x24]
push edx
call fcn.0041b8b0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 0
call fcn.0041b8b0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x100
or eax, ecx
jge 0x4314a0
mov eax, 0x100
lea ecx, [ebp - 0x24]
call fcn.00417470
mov edx, dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x100
push edx
push 0x1f
push 0x400
call edi
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00489835
add esp, 8
test eax, eax
js 0x4315fd
mov ecx, dword [ebp - 0x24]
cmp eax, dword [ecx - 8]
jg 0x4315fd
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov word [edx + eax*2], cx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x100
or eax, ecx
jge 0x43150c
mov eax, 0x100
lea ecx, [ebp - 0x28]
call fcn.00417470
mov edx, dword [ebp - 0x28]
push 0x100
push edx
push 0x1003
push 0x400
call edi
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00489835
add esp, 8
test eax, eax
js 0x4315fd
mov ecx, dword [ebp - 0x28]
cmp eax, dword [ecx - 8]
jg 0x4315fd
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x28]
xor ecx, ecx
mov word [edx + eax*2], cx
lea eax, [ebp - 0x2c]
push eax
call fcn.0041b8b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
push ecx
push edx
push str._s___s
lea edi, [ebp - 0x2c]
call fcn.00417250
mov eax, dword [ebp - 0x2c]
mov ecx, dword [esi + 4]
add esp, 0xc
push eax
push 0
push 0x1032
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4315ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4315ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43140e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43140e
push 0x80070057
call fcn.00417580
int3