Function at 0x48e200
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x615748
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 + 0x8c8]
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x48e939
mov ecx, dword [eax + 0x318]
mov esi, 0x20
cmp ecx, esi
jne 0x48e264
mov ecx, dword [eax + 0x110]
mov edx, dword [eax + 0x114]
jmp 0x48e276
mov edx, dword [eax + 0x8c8]
mov ecx, dword [edx + 0x1a8]
mov edx, dword [edx + 0x1ac]
mov dword [ebp - 0x24], ecx
or ecx, edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
jne 0x48e2b0
test ecx, ecx
je 0x48e29e
cmp dword [eax + 0x318], esi
je 0x48e29e
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x24], edx
or edx, esi
mov dword [ebp - 0x20], esi
jne 0x48e2b0
mov edx, dword [eax + 0x110]
mov dword [ebp - 0x24], edx
mov edx, dword [eax + 0x114]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 0x8c8]
mov esi, dword [eax + 0x1b0]
mov edx, esi
mov dword [ebp - 0x1c], esi
mov edi, dword [eax + 0x1b4]
or edx, edi
mov dword [ebp - 0x18], edi
jne 0x48e2ec
test ecx, ecx
je 0x48e939
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 0x48e939
lea ecx, [ebp - 0x48]
push ecx
push edi
push esi
mov ecx, ebx
call fcn.0048e970
lea edx, [ebp + 8]
push 3
push edx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x48e339
mov edi, 0x6bfed4
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 0x48e3fc
mov eax, dword [ebx]
mov edx, dword [eax + 0x480]
mov ecx, dword [eax + 0x484]
or edx, ecx
jne 0x48e37e
mov ecx, dword [eax + 0x110]
mov edx, dword [eax + 0x114]
add eax, 0x110
or ecx, edx
jne 0x48e37e
lea edx, [ebp - 0x24]
mov ecx, ebx
push edx
push 0x1473
call fcn.0048d7f0
fild qword [ebp - 0x1c]
fild qword [ebp - 0x24]
fld st(1)
fmul dword [0x635af8]
fdiv st(1)
fst dword [ebp - 0x14]
call fcn.005de5f4
cmp dword [ebx + 0xb84], eax
je 0x48e49f
fxch st(1)
fmul dword [0x62b648]
fdiv st(1)
call fcn.005de5f4
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 [0x6ec778]
test eax, eax
je 0x48e4a3
mov eax, dword [ebx + 0xb1c]
test eax, eax
je 0x48e4a3
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 0x48e4a3
mov esi, dword [ebx]
fld qword [esi + 0x378]
fcomp qword [0x633be8]
fnstsw ax
test ah, 0x41
jne 0x48e4a3
mov edi, dword [esi + 0x8c8]
fld qword [edi + 0x188]
fmul qword [0x635b00]
fdiv qword [esi + 0x378]
fst dword [ebp - 0x14]
call fcn.005de5f4
cmp dword [ebx + 0xb84], eax
je 0x48e4a3
fld qword [edi + 0x188]
fmul qword [0x6373d0]
fdiv qword [esi + 0x378]
call fcn.005de5f4
push 0
push eax
mov eax, dword [ebx + 0xe8]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x6ec778]
test eax, eax
je 0x48e4a3
mov esi, dword [ebx + 0xb1c]
test esi, esi
je 0x48e4a3
fld dword [ebp - 0x14]
fmul dword [0x6373c8]
mov edi, dword [esi]
push 0
push 0x186a0
call fcn.005de5f4
mov ecx, dword [ebx + 0x10]
push edx
push eax
push ecx
push esi
call dword [edi + 0x24]
jmp 0x48e4a3
fstp st(0)
fstp st(0)
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x44]
cmp eax, 4
je 0x48e4b6
cmp eax, 5
jne 0x48e5dd
fld qword [ecx + 0x378]
fcomp qword [0x633be8]
fnstsw ax
test ah, 0x41
je 0x48e5dd
mov eax, dword [ecx + 0x8c8]
test eax, eax
je 0x48e62b
mov edx, eax
fld qword [edx + 0x188]
call fcn.005de5f4
mov esi, edx
mov edi, eax
test esi, esi
jl 0x48e5cb
jg 0x48e4fe
test edi, edi
jb 0x48e5cb
push 0
push 0x3c
push esi
push edi
call fcn.005e0090
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.005dffe0
push 0
push 0x3c
push edx
push eax
call fcn.005e0090
push 0
push 0xe10
push esi
push edi
mov dword [ebp - 0x2c], eax
call fcn.005dffe0
test edx, edx
jg 0x48e596
jl 0x48e549
cmp eax, 0x2710
ja 0x48e596
test eax, eax
je 0x48e55a
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x6ed4dc]
push ecx
push eax
jmp 0x48e56c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
test eax, eax
push ecx
je 0x48e57e
mov edx, dword [0x6ed4d8]
push eax
lea eax, [ebp - 0x88]
push edx
push eax
call fcn.005deb38
add esp, 0x10
jmp 0x48e5aa
mov edx, dword [0x6ed4d4]
lea eax, [ebp - 0x88]
push edx
push eax
call fcn.005deb38
add esp, 0xc
jmp 0x48e5aa
lea ecx, [ebp - 0x88]
push 0x6bbf90
push ecx
call fcn.005deb38
add esp, 8
lea edx, [ebp - 0x88]
lea eax, [ebp - 0x48]
push edx
push eax
lea ecx, [ebp - 0x108]
push 0x6c3734
push ecx
call fcn.005deb38
add esp, 0x10
jmp 0x48e643
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x108]
push edx
push 0x6bc090
push eax
jmp 0x48e63b
fld dword [ebp - 0x14]
fcomp qword [0x635af0]
fnstsw ax
test ah, 1
je 0x48e62b
fld dword [ebp - 0x14]
call fcn.005de5f4
mov esi, eax
mov dword [ebp - 0x18], esi
fild dword [ebp - 0x18]
fsubr dword [ebp - 0x14]
fmul dword [0x635af8]
call fcn.005de5f4
lea ecx, [ebp + 8]
push eax
push ecx
lea edx, [ebp - 0x48]
push esi
push edx
lea eax, [ebp - 0x108]
push 0x6c3720
push eax
call fcn.005deb38
add esp, 0x18
jmp 0x48e643
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x108]
push ecx
push 0x6bc090
push edx
call fcn.005deb38
add esp, 0xc
lea eax, [ebp - 0x108]
lea ecx, [ebx + 0x428]
push eax
call fcn.00483e30
fld dword [ebp - 0x14]
call fcn.005de5f4
mov ecx, eax
mov eax, dword [ebx + 0xb84]
cmp eax, ecx
je 0x48e939
fld dword [ebp - 0x14]
fcomp qword [0x635af0]
mov dword [ebx + 0xb84], ecx
fnstsw ax
test ah, 1
je 0x48e81f
lea edx, [ebp - 0x48]
push 0xa
push edx
push ecx
call fcn.005e210f
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 0x48e6f4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x48e6f4
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 0x48e6f4
lea ecx, [eax + eax + 2]
push ecx
call fcn.005f6c5c
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x48e6f4
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, 0x6c3718
test eax, eax
je 0x48e782
push eax
call fcn.005de123
add esp, 4
test eax, eax
je 0x48e782
mov eax, dword [esi]
test eax, eax
je 0x48e721
push eax
call fcn.005de123
add esp, 4
mov edi, eax
jmp 0x48e723
xor edi, edi
push 0x6c3718
call fcn.005de123
add eax, edi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005f6c5c
mov edi, eax
add esp, 8
test edi, edi
je 0x48e782
mov eax, dword [esi]
test eax, eax
je 0x48e75f
push eax
push edi
call fcn.005de2e9
push 0x6c3718
push edi
call fcn.005de2bf
add esp, 0x10
jmp 0x48e76d
push 0x6c3718
push edi
call fcn.005de2e9
add esp, 8
mov ecx, esi
call fcn.00401070
push edi
mov dword [esi], edi
call fcn.005de123
add esp, 4
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 0xba4]
test ebx, ebx
jne 0x48e79d
lea ebx, [eax + 0xba8]
test ebx, ebx
je 0x48e8e0
push ebx
call fcn.005de123
add esp, 4
test eax, eax
je 0x48e8e0
mov eax, dword [esi]
test eax, eax
je 0x48e7c1
push eax
call fcn.005de123
add esp, 4
mov edi, eax
jmp 0x48e7c3
xor edi, edi
push ebx
call fcn.005de123
add eax, edi
lea edx, [eax + eax + 2]
push edx
call fcn.005f6c5c
mov edi, eax
add esp, 8
test edi, edi
je 0x48e8e0
mov eax, dword [esi]
test eax, eax
je 0x48e7fb
push eax
push edi
call fcn.005de2e9
push ebx
push edi
call fcn.005de2bf
add esp, 0x10
jmp 0x48e805
push ebx
push edi
call fcn.005de2e9
add esp, 8
mov ecx, esi
call fcn.00401070
push edi
mov dword [esi], edi
call fcn.005de123
add esp, 4
mov dword [esi + 8], eax
jmp 0x48e8e0
mov edi, dword [ebx + 0xba4]
test edi, edi
jne 0x48e82f
lea edi, [ebx + 0xba8]
test edi, edi
lea esi, [ebx + 0xbb0]
je 0x48e89a
cmp dword [esi], 0
je 0x48e89a
push edi
call fcn.005de123
add esp, 4
test eax, eax
je 0x48e89a
mov eax, dword [esi]
cmp eax, edi
ja 0x48e89a
push eax
call fcn.005de123
mov ecx, dword [esi]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, edi
jb 0x48e89a
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.004023e0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004023d0
push eax
mov ecx, esi
call fcn.004023e0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00401070
jmp 0x48e8e0
mov ecx, esi
call fcn.00401070
test edi, edi
je 0x48e8e0
push edi
call fcn.005de123
add esp, 4
test eax, eax
je 0x48e8e0
push edi
call fcn.005de123
lea eax, [eax + eax + 2]
push eax
call fcn.005f6c5c
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x48e8e0
push edi
call fcn.005de123
mov ecx, dword [esi]
push edi
push ecx
mov dword [esi + 8], eax
call fcn.005de2e9
add esp, 0xc
mov edi, dword [ebp - 0x28]
mov eax, dword [edi + 0x14]
test eax, eax
mov eax, dword [esi]
je 0x48e900
test eax, eax
jne 0x48e8f3
lea eax, [esi + 4]
mov edx, dword [edi + 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x48e926
test eax, eax
jne 0x48e907
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.005fa919
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.005fa859
mov ecx, dword [0x6ec8cc]
test ecx, ecx
je 0x48e939
mov edx, dword [edi + 0x10]
push edx
call fcn.00534780
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4