Function at 0x48ed40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c9c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x8d0]
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x48f479
mov ecx, dword [eax + 0x31c]
mov esi, 0x20
cmp ecx, esi
jne 0x48eda4
mov ecx, dword [eax + 0x110]
mov edx, dword [eax + 0x114]
jmp 0x48edb6
mov edx, dword [eax + 0x8d0]
mov ecx, dword [edx + 0x1b8]
mov edx, dword [edx + 0x1bc]
mov dword [ebp - 0x24], ecx
or ecx, edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
jne 0x48edf0
test ecx, ecx
je 0x48edde
cmp dword [eax + 0x31c], esi
je 0x48edde
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x24], edx
or edx, esi
mov dword [ebp - 0x20], esi
jne 0x48edf0
mov edx, dword [eax + 0x110]
mov dword [ebp - 0x24], edx
mov edx, dword [eax + 0x114]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 0x8d0]
mov esi, dword [eax + 0x1c0]
mov edx, esi
mov dword [ebp - 0x1c], esi
mov edi, dword [eax + 0x1c4]
or edx, edi
mov dword [ebp - 0x18], edi
jne 0x48ee2c
test ecx, ecx
je 0x48f479
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov eax, esi
mov dword [ebp - 0x1c], esi
or eax, edi
mov dword [ebp - 0x18], edi
je 0x48f479
lea ecx, [ebp - 0x48]
push ecx
push edi
push esi
mov ecx, ebx
call fcn.0048f4b0
lea edx, [ebp + 8]
push 3
push edx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x48ee79
mov edi, 0x6c9158
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
or ecx, eax
je 0x48ef3c
mov eax, dword [ebx]
mov edx, dword [eax + 0x488]
mov ecx, dword [eax + 0x48c]
or edx, ecx
jne 0x48eebe
mov ecx, dword [eax + 0x110]
mov edx, dword [eax + 0x114]
add eax, 0x110
or ecx, edx
jne 0x48eebe
lea edx, [ebp - 0x24]
mov ecx, ebx
push edx
push 0x1473
call fcn.0048e330
fild qword [ebp - 0x1c]
fild qword [ebp - 0x24]
fld st(1)
fmul dword [0x63db40]
fdiv st(1)
fst dword [ebp - 0x14]
call fcn.005e5674
cmp dword [ebx + 0xb84], eax
je 0x48efdf
fxch st(1)
fmul dword [0x633648]
fdiv st(1)
call fcn.005e5674
push 0
push eax
mov eax, dword [ebx + 0xe8]
push 0x402
push eax
fstp st(0)
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x6f6338]
test eax, eax
je 0x48efe3
mov eax, dword [ebx + 0xb1c]
test eax, eax
je 0x48efe3
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp - 0x24]
push edx
mov edx, dword [ebx + 0x10]
push edi
push esi
push edx
push eax
call dword [ecx + 0x24]
jmp 0x48efe3
mov esi, dword [ebx]
fld qword [esi + 0x380]
fcomp qword [0x63bc30]
fnstsw ax
test ah, 0x41
jne 0x48efe3
mov edi, dword [esi + 0x8d0]
fld qword [edi + 0x188]
fmul qword [0x63db48]
fdiv qword [esi + 0x380]
fst dword [ebp - 0x14]
call fcn.005e5674
cmp dword [ebx + 0xb84], eax
je 0x48efe3
fld qword [edi + 0x188]
fmul qword [0x63f418]
fdiv qword [esi + 0x380]
call fcn.005e5674
push 0
push eax
mov eax, dword [ebx + 0xe8]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x6f6338]
test eax, eax
je 0x48efe3
mov esi, dword [ebx + 0xb1c]
test esi, esi
je 0x48efe3
fld dword [ebp - 0x14]
fmul dword [0x63f410]
mov edi, dword [esi]
push 0
push 0x186a0
call fcn.005e5674
mov ecx, dword [ebx + 0x10]
push edx
push eax
push ecx
push esi
call dword [edi + 0x24]
jmp 0x48efe3
fstp st(0)
fstp st(0)
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x44]
cmp eax, 4
je 0x48eff6
cmp eax, 5
jne 0x48f11d
fld qword [ecx + 0x380]
fcomp qword [0x63bc30]
fnstsw ax
test ah, 0x41
je 0x48f11d
mov eax, dword [ecx + 0x8d0]
test eax, eax
je 0x48f16b
mov edx, eax
fld qword [edx + 0x188]
call fcn.005e5674
mov esi, edx
mov edi, eax
test esi, esi
jl 0x48f10b
jg 0x48f03e
test edi, edi
jb 0x48f10b
push 0
push 0x3c
push esi
push edi
call fcn.005e7110
mov dword [ebp - 0x18], eax
mov ecx, edi
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
push 0
push 0x3c
push eax
push ecx
call fcn.005e7060
push 0
push 0x3c
push edx
push eax
call fcn.005e7110
push 0
push 0xe10
push esi
push edi
mov dword [ebp - 0x2c], eax
call fcn.005e7060
test edx, edx
jg 0x48f0d6
jl 0x48f089
cmp eax, 0x2710
ja 0x48f0d6
test eax, eax
je 0x48f09a
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x6f7148]
push ecx
push eax
jmp 0x48f0ac
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
test eax, eax
push ecx
je 0x48f0be
mov edx, dword [0x6f7144]
push eax
lea eax, [ebp - 0x88]
push edx
push eax
call fcn.005e5bb8
add esp, 0x10
jmp 0x48f0ea
mov edx, dword [0x6f7140]
lea eax, [ebp - 0x88]
push edx
push eax
call fcn.005e5bb8
add esp, 0xc
jmp 0x48f0ea
lea ecx, [ebp - 0x88]
push 0x6c4f98
push ecx
call fcn.005e5bb8
add esp, 8
lea edx, [ebp - 0x88]
lea eax, [ebp - 0x48]
push edx
push eax
lea ecx, [ebp - 0x108]
push str._s____s_
push ecx
call fcn.005e5bb8
add esp, 0x10
jmp 0x48f183
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x108]
push edx
push 0x6c5098
push eax
jmp 0x48f17b
fld dword [ebp - 0x14]
fcomp qword [0x63db38]
fnstsw ax
test ah, 1
je 0x48f16b
fld dword [ebp - 0x14]
call fcn.005e5674
mov esi, eax
mov dword [ebp - 0x18], esi
fild dword [ebp - 0x18]
fsubr dword [ebp - 0x14]
fmul dword [0x63db40]
call fcn.005e5674
lea ecx, [ebp + 8]
push eax
push ecx
lea edx, [ebp - 0x48]
push esi
push edx
lea eax, [ebp - 0x108]
push str._s_____d_s_02d_____
push eax
call fcn.005e5bb8
add esp, 0x18
jmp 0x48f183
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x108]
push ecx
push 0x6c5098
push edx
call fcn.005e5bb8
add esp, 0xc
lea eax, [ebp - 0x108]
lea ecx, [ebx + 0x428]
push eax
call fcn.00484960
fld dword [ebp - 0x14]
call fcn.005e5674
mov ecx, eax
mov eax, dword [ebx + 0xb84]
cmp eax, ecx
je 0x48f479
fld dword [ebp - 0x14]
fcomp qword [0x63db38]
mov dword [ebx + 0xb84], ecx
fnstsw ax
test ah, 1
je 0x48f35f
lea edx, [ebp - 0x48]
push 0xa
push edx
push ecx
call fcn.005e918f
mov ebx, eax
mov eax, dword [ebp - 0x28]
add esp, 0xc
lea esi, [eax + 0xbb0]
mov ecx, esi
call fcn.00401070
test ebx, ebx
je 0x48f234
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x48f234
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x48f234
lea ecx, [eax + eax + 2]
push ecx
call fcn.005fdccd
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x48f234
mov edx, dword [esi + 8]
push edx
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0
call edi
mov dword [esi + 8], eax
mov eax, 0x6cc9e0
test eax, eax
je 0x48f2c2
push eax
call fcn.005e519b
add esp, 4
test eax, eax
je 0x48f2c2
mov eax, dword [esi]
test eax, eax
je 0x48f261
push eax
call fcn.005e519b
add esp, 4
mov edi, eax
jmp 0x48f263
xor edi, edi
push 0x6cc9e0
call fcn.005e519b
add eax, edi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005fdccd
mov edi, eax
add esp, 8
test edi, edi
je 0x48f2c2
mov eax, dword [esi]
test eax, eax
je 0x48f29f
push eax
push edi
call fcn.005e5369
push 0x6cc9e0
push edi
call fcn.005e533f
add esp, 0x10
jmp 0x48f2ad
push 0x6cc9e0
push edi
call fcn.005e5369
add esp, 8
mov ecx, esi
call fcn.00401070
push edi
mov dword [esi], edi
call fcn.005e519b
add esp, 4
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 0xba4]
test ebx, ebx
jne 0x48f2dd
lea ebx, [eax + 0xba8]
test ebx, ebx
je 0x48f420
push ebx
call fcn.005e519b
add esp, 4
test eax, eax
je 0x48f420
mov eax, dword [esi]
test eax, eax
je 0x48f301
push eax
call fcn.005e519b
add esp, 4
mov edi, eax
jmp 0x48f303
xor edi, edi
push ebx
call fcn.005e519b
add eax, edi
lea edx, [eax + eax + 2]
push edx
call fcn.005fdccd
mov edi, eax
add esp, 8
test edi, edi
je 0x48f420
mov eax, dword [esi]
test eax, eax
je 0x48f33b
push eax
push edi
call fcn.005e5369
push ebx
push edi
call fcn.005e533f
add esp, 0x10
jmp 0x48f345
push ebx
push edi
call fcn.005e5369
add esp, 8
mov ecx, esi
call fcn.00401070
push edi
mov dword [esi], edi
call fcn.005e519b
add esp, 4
mov dword [esi + 8], eax
jmp 0x48f420
mov edi, dword [ebx + 0xba4]
test edi, edi
jne 0x48f36f
lea edi, [ebx + 0xba8]
test edi, edi
lea esi, [ebx + 0xbb0]
je 0x48f3da
cmp dword [esi], 0
je 0x48f3da
push edi
call fcn.005e519b
add esp, 4
test eax, eax
je 0x48f3da
mov eax, dword [esi]
cmp eax, edi
ja 0x48f3da
push eax
call fcn.005e519b
mov ecx, dword [esi]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, edi
jb 0x48f3da
xor eax, eax
push edi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x34], ax
call fcn.004023c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004023b0
push eax
mov ecx, esi
call fcn.004023c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00401070
jmp 0x48f420
mov ecx, esi
call fcn.00401070
test edi, edi
je 0x48f420
push edi
call fcn.005e519b
add esp, 4
test eax, eax
je 0x48f420
push edi
call fcn.005e519b
lea eax, [eax + eax + 2]
push eax
call fcn.005fdccd
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x48f420
push edi
call fcn.005e519b
mov ecx, dword [esi]
push edi
push ecx
mov dword [esi + 8], eax
call fcn.005e5369
add esp, 0xc
mov edi, dword [ebp - 0x28]
mov eax, dword [edi + 0x14]
test eax, eax
mov eax, dword [esi]
je 0x48f440
test eax, eax
jne 0x48f433
lea eax, [esi + 4]
mov edx, dword [edi + 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x48f466
test eax, eax
jne 0x48f447
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.0060198c
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp - 0x18]
call fcn.006018cc
mov ecx, dword [0x6f648c]
test ecx, ecx
je 0x48f479
mov edx, dword [edi + 0x10]
push edx
call fcn.00538320
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4