Function at 0x49aa00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, ecx
mov dword [ebp - 0x10], esp
push 0
push 0
mov eax, dword [ebx + 0x378]
push 0xf0
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0
call edi
mov ecx, dword [ebx + 0x33c]
push 0
push 0
push 0xf0
push ecx
mov esi, eax
call edi
test esi, esi
mov dword [ebp - 0x3c], eax
je 0x49aab2
xor esi, esi
cmp esi, dword [ebx + 0x6c]
jge 0x49b0fc
mov eax, dword [ebx + 0x68]
lea edx, [esi + esi*2]
shl edx, 4
mov ecx, dword [eax + edx + 0x10]
test ecx, ecx
jne 0x49aaaf
mov edx, dword [ebx + 0x42c]
lea ecx, [ebp - 0x80]
push ecx
push 0xffffffffffffffff
push 0x100d
push edx
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x78], esi
call edi
test eax, eax
jl 0x49aaaf
push 0
push eax
mov eax, dword [ebx + 0x42c]
push 0x1008
push eax
call edi
inc esi
jmp 0x49aa62
xor esi, esi
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x28], esi
cmp esi, eax
jge 0x49b0e9
mov edx, dword [ebx + 0x68]
lea ecx, [esi + esi*2]
shl ecx, 4
lea eax, [ecx + edx]
mov ecx, dword [ecx + edx + 0x10]
test ecx, ecx
jne 0x49b0e3
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x49aaec
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x49b0e3
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x300], 4
jne 0x49ab06
mov dl, byte [ecx + 0x30e]
test dl, dl
jne 0x49b0e3
mov ecx, dword [0x6cc564]
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax + 8]
lea edx, [ebp - 0x1c]
push 0
push edx
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], edi
call fcn.00566570
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x49ab49
mov eax, dword [edi + 0x54]
test eax, eax
jne 0x49ab38
lea eax, [edi + 0x58]
push 0x5c
push eax
call fcn.005c71e2
mov edi, eax
add esp, 8
test edi, edi
jne 0x49ab5b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.005e38b9
inc esi
jmp 0x49aab4
mov eax, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
lea esi, [ebx + 0x410]
push 0x6d0ab8
push eax
push 1
mov ecx, esi
add edi, 2
call fcn.005dda57
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x24], ebx
jle 0x49b0d1
mov ecx, dword [ebp - 0x20]
push edi
push ebx
push 0
mov edx, dword [ecx + 0x42c]
push edx
call fcn.0044a3a0
mov eax, dword [ebp - 0x28]
add esp, 0x10
mov ecx, esi
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push ebx
call fcn.005ddad9
mov ecx, dword [ebp - 0x1c]
push ecx
push 3
push ebx
mov ecx, esi
call fcn.005ddb52
mov edx, dword [ebp - 0x38]
mov esi, dword [edx + 0x60]
test esi, esi
je 0x49ac80
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49ac80
xor edi, edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x54], edi
mov word [ebp - 0x58], di
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00401070
cmp esi, edi
je 0x49ac54
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49ac54
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push esi
push eax
push 0xfde9
call edi
test eax, eax
mov dword [ebp - 0x54], eax
je 0x49ac54
lea eax, [eax + eax + 2]
push eax
call fcn.005dfcbc
add esp, 4
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x49ac5b
mov ecx, dword [ebp - 0x54]
push ecx
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call edi
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x49ac5e
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x20]
push eax
push ebx
push 5
mov eax, dword [edx + 0x42c]
push eax
call fcn.0044a3a0
add esp, 0x10
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00401070
mov ecx, dword [ebp - 0x38]
xor esi, esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], esi
mov edx, dword [ecx + 0x54]
lea ecx, [ebp - 0x50]
push edx
mov word [ebp - 0x4c], si
call fcn.00402060
mov eax, dword [0x6d1170]
mov byte [ebp - 4], 3
cmp eax, esi
je 0x49ae88
mov eax, dword [0x6d0fe8]
cmp eax, esi
je 0x49acba
mov dword [ebp - 0x18], eax
jmp 0x49acc4
mov dword [ebp - 0x18], 0x6d0fec
mov eax, dword [ebp - 0x18]
mov edi, dword [0x6d0ff8]
test edi, edi
je 0x49acd3
mov dword [ebp - 0x2c], edi
jmp 0x49acdd
mov dword [ebp - 0x2c], 0x6d0ffc
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x49ae88
test eax, eax
je 0x49ae88
push eax
push edi
call fcn.005c779f
add esp, 8
test eax, eax
je 0x49ae88
mov eax, dword [ebp - 0x50]
push edi
push eax
call fcn.005c7ae5
add esp, 8
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x34], ebx
test esi, esi
je 0x49ad32
inc ebx
push edi
mov dword [ebp - 0x34], ebx
call fcn.005c7292
lea eax, [esi + eax*2]
push edi
push eax
call fcn.005c7ae5
add esp, 0xc
mov esi, eax
jmp 0x49ad13
test ebx, ebx
je 0x49ae85
mov ecx, dword [ebp - 0x50]
xor eax, eax
push ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], eax
mov word [ebp - 0x64], ax
call fcn.00402060
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 4
push esi
call fcn.005c7292
push edi
mov ebx, eax
call fcn.005c7292
add esp, 8
cmp ebx, eax
jbe 0x49adb7
lea ecx, [ebp - 0x50]
call fcn.00401070
lea ecx, [ebp - 0x68]
call fcn.00402050
push eax
call fcn.005c7292
push esi
mov ebx, eax
call fcn.005c7292
push edi
mov esi, eax
call fcn.005c7292
sub esi, eax
imul esi, dword [ebp - 0x34]
add ebx, esi
lea edx, [ebx + ebx + 2]
push edx
call fcn.005dfcbc
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x50], ebx
jne 0x49adba
jmp 0x49ae79
mov ebx, dword [ebp - 0x50]
lea ecx, [ebp - 0x68]
call fcn.00402050
mov esi, eax
push edi
push esi
mov dword [ebp - 0x34], esi
call fcn.005c7ae5
add esp, 8
mov dword [ebp - 0x30], eax
test eax, eax
je 0x49ae3f
sub eax, esi
mov edi, ebx
sar eax, 1
shl eax, 1
mov ecx, eax
add ebx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x18]
push esi
call fcn.005c7292
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005c7292
mov esi, dword [ebp - 0x2c]
lea ebx, [ebx + eax*2]
push esi
call fcn.005c7292
mov edx, dword [ebp - 0x30]
push esi
lea eax, [edx + eax*2]
push eax
mov dword [ebp - 0x34], eax
call fcn.005c7ae5
mov esi, dword [ebp - 0x34]
add esp, 0x14
mov dword [ebp - 0x30], eax
jmp 0x49add4
push esi
call fcn.005c7292
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.005c7292
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov edx, dword [ebp - 0x50]
push edx
call fcn.005c7292
add esp, 0xc
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00401070
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x49ae92
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x20]
push ebx
push 4
mov ecx, dword [eax + 0x42c]
push ecx
call fcn.0044a3a0
mov eax, dword [ebp - 0x38]
add esp, 0x10
mov esi, dword [eax + 0x474]
mov edi, dword [eax + 0x470]
test esi, esi
jl 0x49b0c5
jg 0x49aec9
test edi, edi
jbe 0x49b0c5
mov dword [ebp - 0x2c], 0x61b7d0
push 0
push 0x400
push esi
push edi
mov byte [ebp - 4], 5
call fcn.005c9260
mov dword [ebp - 0x38], eax
mov ecx, edi
cdq
mov dword [ebp - 0x44], eax
sub ecx, eax
mov eax, esi
push 0
sbb eax, edx
push 0x400
push eax
push ecx
mov dword [ebp - 0x40], edx
call fcn.005c91b0
mov ebx, eax
and ebx, 0x800003ff
jns 0x49af14
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
mov edx, dword [ebp - 0x44]
sub ecx, edx
mov edx, dword [ebp - 0x40]
sbb eax, edx
push 0
push 0x100000
push eax
push ecx
call fcn.005c91b0
and eax, 0x800003ff
jns 0x49af48
dec eax
or eax, 0xfffffc00
inc eax
push 0
push 0x40000000
push esi
push edi
mov dword [ebp - 0x34], eax
call fcn.005c91b0
lea ecx, [ebp - 0x14]
push 3
push ecx
mov edi, eax
push 0xe
push 0x400
mov dword [ebp - 0x30], edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x49af9b
mov edi, 0x6a5be8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x14]
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 edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
test edi, edi
jne 0x49b064
cmp esi, 0x3e7
jg 0x49b064
test esi, esi
jne 0x49b022
cmp ebx, 0x3e7
jg 0x49b022
test ebx, ebx
je 0x49b002
mov eax, dword [ebp - 0x38]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov edx, dword [0x6d1ca0]
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
push edx
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [ebp - 0x14]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push ebx
jmp 0x49b09c
mov eax, dword [0x6d1c9c]
mov ecx, dword [ebp - 0x38]
push eax
push ecx
lea edx, [ebp - 0x7c]
push str._d___s
push edx
call fcn.005c7c98
add esp, 0x10
jmp 0x49b0ad
lea ebx, [ebx + ebx*4]
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, dword [0x6d1ca4]
push eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov ecx, edx
lea eax, [ebp - 0x7c]
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [ebp - 0x14]
push edx
push esi
push str._d_s_02d___s
push eax
jmp 0x49b0a5
lea eax, [esi + esi*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov edx, dword [0x6d1ca8]
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
push edx
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [ebp - 0x14]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push edi
lea edx, [ebp - 0x7c]
push str._d_s_02d___s
push edx
call fcn.005c7c98
add esp, 0x18
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x7c]
push eax
push 2
push ecx
lea ecx, [edx + 0x410]
call fcn.005ddb52
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.005e38b9
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
inc esi
jmp 0x49aab4
push 0
push 0
push 0
push 0xfffffffffffffffe
push ebx
push 0x495360
call fcn.005e3eb7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret