Function at 0x410c10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5e1da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00465589
call fcn.004587ad
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410c59
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00461ebe
call fcn.004587ad
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410c94
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
call fcn.004587ad
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410cc1
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x50
or eax, ecx
mov byte [ebp - 4], 2
jge 0x410cf3
push 0x50
lea ecx, [ebp - 0x14]
call fcn.00401560
mov ebx, dword [ebp - 0x14]
push 0x50
push ebx
push 0x1f
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.00553862
add esp, 8
test eax, eax
js 0x410ef3
cmp eax, dword [ebx - 8]
jg 0x410ef3
mov dword [ebx - 0xc], eax
mov byte [eax + ebx], 0
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x50
or eax, ecx
jge 0x410d47
push 0x50
lea ecx, [ebp - 0x10]
call fcn.00401560
mov edi, dword [ebp - 0x10]
push 0x50
push edi
push 0x1003
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00553862
add esp, 8
test eax, eax
js 0x410ef3
cmp eax, dword [edi - 8]
jg 0x410ef3
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov dword [edi - 0xc], eax
push 0
mov byte [eax + edi], 0
mov ecx, dword [esi + 0x134]
push 0x1005
push ecx
call ebx
mov edx, dword [esi + 0xc0]
push edi
push 0
push 0x1005
push edx
call ebx
mov edx, dword [esi + 0x190]
mov eax, dword [esi + 0x198]
mov ecx, dword [esi + 0x19c]
lea edi, [esi + 0x190]
lea ebx, [esi + 0x198]
mov dword [esi + 0x1a0], edx
mov edx, dword [edi + 4]
mov dword [esi + 0x1a4], edx
mov edx, dword [edi]
mov dword [esi + 0x1a8], eax
add eax, 0xffffffff
mov dword [ebp - 0x20], edx
mov edx, dword [edi + 4]
mov dword [esi + 0x1ac], ecx
adc ecx, 0xffffffff
add dword [ebp - 0x20], 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
adc edx, 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], edx
cmp eax, dword [edi]
jne 0x410e1d
mov ecx, dword [ebx + 4]
cmp ecx, dword [edi + 4]
jne 0x410e1d
push edi
lea ecx, [esi + 0x114]
push edi
call fcn.00463f99
push ebx
push edi
jmp 0x410e32
lea edx, [ebp - 0x28]
push edx
lea ecx, [esi + 0x114]
push edi
call fcn.00463f99
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 0xa0]
call fcn.00463f99
push edi
lea ecx, [esi + 0x114]
call fcn.00464004
push ebx
lea ecx, [esi + 0xa0]
call fcn.00464004
lea edx, [esi + 0x1b0]
lea ecx, [esi + 0x9c]
push edx
call fcn.00402660
push 0
mov ecx, esi
call fcn.0045fa60
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410e93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410eb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410edc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401000
int3