Function at 0x4ac840
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd3bd
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x50f880]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], ebx
mov eax, dword [0x50f008]
mov edx, dword [eax + 0xc]
mov ecx, 0x50f008
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], 0x4f08cc
mov dword [ebp - 0x80], 0x4f08d4
mov dword [ebp - 0x7c], 0x4f08dc
mov dword [ebp - 0x78], 0x4f08e4
mov dword [ebp - 0x74], 0x4f08ec
mov dword [ebp - 0x70], 0x4f08f4
mov dword [ebp - 0x6c], 0x4f08fc
mov dword [ebp - 0x68], 0x4f0904
mov dword [ebp - 0x64], 0x4f090c
mov dword [ebp - 0x40], ebx
call edx
add eax, 0x10
mov dword [ebp - 0x44], eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 1
mov dword [ebp - 0x3c], ebx
cmp edi, ebx
jl 0x4ac932
mov ebx, dword [ebp + 8]
jg 0x4ac8f0
cmp ebx, 0x400
jb 0x4ac930
cmp dword [ebp - 0x40], 9
jae 0x4ac92a
inc dword [ebp - 0x40]
push 0
push 0x400
push edi
push ebx
call fcn.004c8540
push 0
push 0x400
push edi
push ebx
mov dword [ebp - 0x3c], eax
call fcn.0045a1e0
mov edi, edx
mov ebx, eax
test edi, edi
jg 0x4ac8f0
jl 0x4ac92a
cmp ebx, 0x400
jae 0x4ac8f0
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], ebx
xor ebx, ebx
fild dword [ebp - 0x3c]
sub esp, 8
lea edi, [ebp - 0x44]
fmul qword [0x4f64c8]
fild qword [ebp + 8]
faddp st(1)
fstp qword [esp]
push str._32.32f
call fcn.0041b170
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push 0xa
mov edx, eax
push edx
mov edi, 1
push 0xe
lea ecx, [ebp - 0x38]
push 0x400
mov dword [ebp - 0x24], 0x2e
mov dword [ebp - 0x38], 0x2c
mov dword [ebp - 0x58], 3
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x60], edi
call ebx
push 0xa
lea eax, [ebp - 0x38]
push eax
push 0xf
push 0x400
call ebx
mov edx, dword [0x50f008]
mov eax, dword [edx + 0xc]
mov ecx, 0x50f008
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, edi
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x20
or eax, ecx
mov dword [ebp - 0x48], edi
jge 0x4ac9f3
lea eax, [edi + 0x1f]
mov ecx, esi
call fcn.0041b590
mov eax, dword [esi]
mov ebx, dword [eax - 8]
cmp dword [eax - 4], edi
jle 0x4aca07
mov ecx, dword [eax - 0xc]
push ecx
push esi
call fcn.0041b4d0
mov eax, dword [esi]
push ebx
push eax
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x60]
push edx
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
jne 0x4acab5
lea eax, [ebp - 0x44]
mov edi, esi
call fcn.0041ad90
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x4acab5
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.00456001
add esp, 8
test eax, eax
je 0x4acab5
mov ecx, dword [esi]
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x4acab5
cmp dword [ecx - 0xc], 0
jge 0x4aca60
or eax, 0xffffffff
jmp 0x4aca7a
lea edx, [ebp - 0x24]
push edx
push ecx
call fcn.00456001
add esp, 8
test eax, eax
jne 0x4aca76
or eax, 0xffffffff
jmp 0x4aca7a
sub eax, dword [esi]
sar eax, 1
add eax, 3
lea ecx, [ebp - 0x3c]
mov edx, esi
call fcn.0041bfb0
mov edi, esi
mov byte [ebp - 4], 2
call fcn.0041ad90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4acab5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4acad0
push ecx
push eax
call fcn.00453fa1
add esp, 8
test eax, eax
js 0x4acb58
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4acb58
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp + eax*4 - 0x84]
test edx, edx
jne 0x4acaf8
xor eax, eax
jmp 0x4acb0f
mov eax, edx
lea edi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4acb00
sub eax, edi
sar eax, 1
push eax
push edx
mov ebx, esi
call fcn.0041acd0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4acb3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453be1
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0041b5f0
int3