Function at 0x49e150
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6420a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x8f8]
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x49e890
mov ecx, dword [eax + 0x31c]
mov esi, 0x20
cmp ecx, esi
jne 0x49e1b4
mov ecx, dword [eax + 0x110]
mov edx, dword [eax + 0x114]
jmp 0x49e1c6
mov edx, dword [eax + 0x8f8]
mov ecx, dword [edx + 0x1b8]
mov edx, dword [edx + 0x1bc]
mov dword [ebp - 0x1c], ecx
or ecx, edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
jne 0x49e200
test ecx, ecx
je 0x49e1ee
cmp dword [eax + 0x31c], esi
je 0x49e1ee
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x1c], edx
or edx, esi
mov dword [ebp - 0x18], esi
jne 0x49e200
mov edx, dword [eax + 0x110]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0x114]
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 0x8f8]
mov esi, dword [eax + 0x1c0]
mov edx, esi
mov dword [ebp - 0x28], esi
mov edi, dword [eax + 0x1c4]
or edx, edi
mov dword [ebp - 0x24], edi
jne 0x49e23c
test ecx, ecx
je 0x49e890
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov eax, esi
mov dword [ebp - 0x28], esi
or eax, edi
mov dword [ebp - 0x24], edi
je 0x49e890
lea ecx, [ebp - 0xb4]
push ecx
push edi
push esi
mov ecx, ebx
call fcn.0049e8c0
lea edx, [ebp - 0x34]
push 8
push edx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x49e28c
mov edi, 0x6cd6b0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x34]
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 - 0x28]
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
or ecx, eax
je 0x49e34c
mov eax, dword [ebx]
mov edx, dword [eax + 0x4a8]
mov ecx, dword [eax + 0x4ac]
or edx, ecx
jne 0x49e2d1
mov ecx, dword [eax + 0x110]
mov edx, dword [eax + 0x114]
add eax, 0x110
or ecx, edx
jne 0x49e2d1
lea edx, [ebp - 0x1c]
mov ecx, ebx
push edx
push 0x1473
call fcn.0049d670
fild qword [ebp - 0x28]
fild qword [ebp - 0x1c]
fld st(1)
fmul dword [0x65b4d0]
fdiv st(1)
fst dword [ebp - 0x14]
call fcn.0060a154
cmp dword [ebx + 0x7c4], eax
je 0x49e3ec
fxch st(1)
fmul dword [0x657ec8]
fdiv st(1)
call fcn.0060a154
push 0
push eax
mov eax, dword [ebx + 0x64]
push 0x402
push eax
fstp st(0)
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x6fcad0]
test eax, eax
je 0x49e3f0
mov eax, dword [ebx + 0x75c]
test eax, eax
je 0x49e3f0
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebx + 0x10]
push edi
push esi
push edx
push eax
call dword [ecx + 0x24]
jmp 0x49e3f0
mov esi, dword [ebx]
fld qword [esi + 0x398]
fcomp qword [0x659b60]
fnstsw ax
test ah, 0x41
jne 0x49e3f0
mov edi, dword [esi + 0x8f8]
fld qword [edi + 0x188]
fmul qword [0x65b4d8]
fdiv qword [esi + 0x398]
fst dword [ebp - 0x14]
call fcn.0060a154
cmp dword [ebx + 0x7c4], eax
je 0x49e3f0
fld qword [edi + 0x188]
fmul qword [0x65b8d0]
fdiv qword [esi + 0x398]
call fcn.0060a154
push 0
push eax
mov eax, dword [ebx + 0x64]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x6fcad0]
test eax, eax
je 0x49e3f0
mov esi, dword [ebx + 0x75c]
test esi, esi
je 0x49e3f0
fld dword [ebp - 0x14]
fmul dword [0x65b8c8]
mov edi, dword [esi]
push 0
push 0x186a0
call fcn.0060a154
mov ecx, dword [ebx + 0x10]
push edx
push eax
push ecx
push esi
call dword [edi + 0x24]
jmp 0x49e3f0
fstp st(0)
fstp st(0)
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x44]
cmp eax, 4
je 0x49e403
cmp eax, 5
jne 0x49e533
fld qword [ecx + 0x398]
fcomp qword [0x659b60]
fnstsw ax
test ah, 0x41
je 0x49e533
mov eax, dword [ecx + 0x8f8]
test eax, eax
je 0x49e584
mov edx, eax
fld qword [edx + 0x188]
call fcn.0060a154
mov esi, edx
mov edi, eax
test esi, esi
jl 0x49e51e
jg 0x49e44b
test edi, edi
jb 0x49e51e
push 0
push 0x3c
push esi
push edi
call fcn.0060bb90
mov dword [ebp - 0x24], eax
mov ecx, edi
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
push 0
push 0x3c
push eax
push ecx
call fcn.0060bae0
push 0
push 0x3c
push edx
push eax
call fcn.0060bb90
push 0
push 0xe10
push esi
push edi
mov dword [ebp + 8], eax
call fcn.0060bae0
test edx, edx
jg 0x49e4e3
jl 0x49e496
cmp eax, 0x2710
ja 0x49e4e3
test eax, eax
je 0x49e4a7
mov ecx, dword [ebp + 8]
mov edx, dword [0x6fd9d0]
push ecx
push eax
jmp 0x49e4b9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
test eax, eax
push ecx
je 0x49e4cb
mov edx, dword [0x6fd9cc]
push eax
lea eax, [ebp - 0x1b4]
push edx
push eax
call fcn.0060a593
add esp, 0x10
jmp 0x49e4f7
mov edx, dword [0x6fd9c8]
lea eax, [ebp - 0x1b4]
push edx
push eax
call fcn.0060a593
add esp, 0xc
jmp 0x49e4f7
lea ecx, [ebp - 0x1b4]
push 0x6c9030
push ecx
call fcn.0060a593
add esp, 8
lea edx, [ebp - 0x1b4]
lea eax, [ebp - 0xb4]
push edx
push eax
lea ecx, [ebp - 0x134]
push str._s____s_
push ecx
call fcn.0060a593
add esp, 0x10
jmp 0x49e59f
lea edx, [ebp - 0xb4]
lea eax, [ebp - 0x134]
push edx
push 0x6c910c
push eax
jmp 0x49e597
fld dword [ebp - 0x14]
fcomp qword [0x65b4c8]
fnstsw ax
test ah, 1
je 0x49e584
fld dword [ebp - 0x14]
call fcn.0060a154
mov esi, eax
mov dword [ebp + 8], esi
fild dword [ebp + 8]
fsubr dword [ebp - 0x14]
fmul dword [0x65b4d0]
call fcn.0060a154
lea ecx, [ebp - 0x34]
push eax
push ecx
lea edx, [ebp - 0xb4]
push esi
push edx
lea eax, [ebp - 0x134]
push str._s_____d_s_02d_____
push eax
call fcn.0060a593
add esp, 0x18
jmp 0x49e59f
lea ecx, [ebp - 0xb4]
lea edx, [ebp - 0x134]
push ecx
push 0x6c910c
push edx
call fcn.0060a593
add esp, 0xc
lea eax, [ebp - 0x134]
lea ecx, [ebx + 0x3a0]
push eax
call fcn.00493720
fld dword [ebp - 0x14]
call fcn.0060a154
mov ecx, eax
mov eax, dword [ebx + 0x7c4]
cmp eax, ecx
je 0x49e890
fld dword [ebp - 0x14]
fcomp qword [0x65b4c8]
mov dword [ebx + 0x7c4], ecx
fnstsw ax
test ah, 1
je 0x49e77e
lea edx, [ebp - 0xb4]
push 0xa
push edx
push ecx
call fcn.0060dd1f
mov ebx, eax
mov eax, dword [ebp - 0x20]
add esp, 0xc
lea esi, [eax + 0x7f0]
mov ecx, esi
call fcn.00401070
test ebx, ebx
je 0x49e653
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49e653
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 0x49e653
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x49e653
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, 0x6d1210
test eax, eax
je 0x49e6e1
push eax
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x49e6e1
mov eax, dword [esi]
test eax, eax
je 0x49e680
push eax
call fcn.00609a4e
add esp, 4
mov edi, eax
jmp 0x49e682
xor edi, edi
push 0x6d1210
call fcn.00609a4e
add eax, edi
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
mov edi, eax
add esp, 8
test edi, edi
je 0x49e6e1
mov eax, dword [esi]
test eax, eax
je 0x49e6be
push eax
push edi
call fcn.00609a95
push 0x6d1210
push edi
call fcn.00609a6b
add esp, 0x10
jmp 0x49e6cc
push 0x6d1210
push edi
call fcn.00609a95
add esp, 8
mov ecx, esi
call fcn.00401070
push edi
mov dword [esi], edi
call fcn.00609a4e
add esp, 4
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 0x7e4]
test ebx, ebx
jne 0x49e6fc
lea ebx, [eax + 0x7e8]
test ebx, ebx
je 0x49e833
push ebx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x49e833
mov eax, dword [esi]
test eax, eax
je 0x49e720
push eax
call fcn.00609a4e
add esp, 4
mov edi, eax
jmp 0x49e722
xor edi, edi
push ebx
call fcn.00609a4e
add eax, edi
lea edx, [eax + eax + 2]
push edx
call fcn.00622acb
mov edi, eax
add esp, 8
test edi, edi
je 0x49e833
mov eax, dword [esi]
test eax, eax
je 0x49e75a
push eax
push edi
call fcn.00609a95
push ebx
push edi
call fcn.00609a6b
add esp, 0x10
jmp 0x49e764
push ebx
push edi
call fcn.00609a95
add esp, 8
mov ecx, esi
call fcn.00401070
push edi
mov dword [esi], edi
call fcn.00609a4e
add esp, 4
mov dword [esi + 8], eax
jmp 0x49e833
mov edi, dword [ebx + 0x7e4]
test edi, edi
jne 0x49e78e
lea edi, [ebx + 0x7e8]
test edi, edi
lea esi, [ebx + 0x7f0]
je 0x49e7ed
cmp dword [esi], 0
je 0x49e7ed
push edi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x49e7ed
mov eax, dword [esi]
cmp eax, edi
ja 0x49e7ed
push eax
call fcn.00609a4e
mov ecx, dword [esi]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, edi
jb 0x49e7ed
push edi
lea ecx, [ebp - 0x2c]
call fcn.00401ee0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401f10
push eax
mov ecx, esi
call fcn.00401f20
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00401070
jmp 0x49e833
mov ecx, esi
call fcn.00401070
test edi, edi
je 0x49e833
push edi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x49e833
push edi
call fcn.00609a4e
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x49e833
push edi
call fcn.00609a4e
mov ecx, dword [esi]
push edi
push ecx
mov dword [esi + 8], eax
call fcn.00609a95
add esp, 0xc
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x14]
test eax, eax
mov eax, dword [esi]
je 0x49e853
test eax, eax
jne 0x49e846
lea eax, [esi + 4]
mov edx, dword [edi + 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x49e87d
test eax, eax
jne 0x49e85a
lea eax, [esi + 4]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402850
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 0x10]
add esp, 8
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp + 8]
call fcn.00622d8a
mov ecx, dword [0x6fcc40]
test ecx, ecx
je 0x49e890
mov eax, dword [edi + 0x10]
push eax
call fcn.00553130
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4