Function at 0x408270
Capabilities:
Check os version
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8ac
mov eax, dword [0x658e64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x898], 0
push esi
push edi
mov dword [ebp - 0x89c], 0
cmp dword [ebx + 0x170], 0
mov dword [ebp - 0x8a0], 0
mov dword [ebp - 0x894], 0
je 0x4086ca
lea eax, [ebp - 0x898]
push eax
push 0
push 0x6597e4
call dword [0x6981ac]
test eax, eax
jne 0x408696
lea eax, [ebp - 0x8a0]
push eax
lea eax, [ebp - 0x89c]
push eax
push 0x200
push dword [ebp - 0x898]
call dword [0x6981a0]
test eax, eax
jne 0x408696
mov dword [ebp - 0x8a4], eax
cmp dword [ebp - 0x89c], eax
jbe 0x408696
xor ecx, ecx
mov dword [ebp - 0x8a8], ecx
nop word [eax + eax]
mov edi, dword [ebp - 0x8a0]
mov edx, 0x6597d4
add edi, ecx
mov byte [ebp - 0x108], 0
mov byte [ebp - 0x208], 0
mov ecx, edi
mov byte [ebp - 0x408], 0
mov esi, 0xc
mov byte [ebp - 0x308], 0
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40866e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x408350
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x308]
push 0
push 0
push 0x100
push eax
push 0xffffffffffffffff
push dword [edi + 0x10]
push 0
push 0
call esi
lea ecx, [ebp - 0x308]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408390
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.005d69be
lea eax, [ebp - 0x308]
push str.internet_explorer
push eax
call fcn.005cebc0
add esp, 0x10
test eax, eax
je 0x40866e
push 0
push 0
push 0x100
lea eax, [ebp - 0x408]
push eax
mov eax, dword [edi + 0x14]
push 0xffffffffffffffff
add eax, 0x20
push eax
push 0
push 0
call esi
lea ecx, [ebp - 0x408]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4083f0
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x408]
push eax
call fcn.005d69be
lea eax, [ebp - 0x408]
push str.instagram.com
push eax
call fcn.005cebc0
add esp, 0x10
test eax, eax
je 0x40866e
push 0
push 0
push 0x100
lea eax, [ebp - 0x208]
push eax
mov eax, dword [edi + 0x18]
push 0xffffffffffffffff
add eax, 0x20
push eax
push 0
push 0
call esi
lea eax, [ebp - 0x894]
mov dword [ebp - 0x894], 0
push eax
push 0
push 0
push 0
push dword [edi + 0x18]
push dword [edi + 0x14]
push edi
push dword [ebp - 0x898]
call dword [0x69819c]
test eax, eax
jne 0x408495
push eax
push eax
push 0x100
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 0x894]
push 0xffffffffffffffff
mov eax, dword [eax + 0x1c]
add eax, 0x20
push eax
push 0
push 0
call esi
lea ecx, [ebp - 0x208]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4084a0
sub ecx, edx
cmp ecx, 1
ja 0x4084c9
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4084b7
sub ecx, edx
cmp ecx, 1
jbe 0x40865d
lea eax, [ebp - 0x890]
mov dword [ebp - 0x890], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4084ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x4084f8
cmp dword [ebp - 0x88c], 0xa
sbb eax, eax
inc eax
test eax, eax
je 0x408646
cmp dword [ebx + 0x210], 0
je 0x408525
lea eax, [ebp - 0x108]
mov ecx, ebx
push eax
lea eax, [ebp - 0x208]
push eax
push 0x13
call fcn.004067c0
jmp 0x40865d
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408530
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x7f0]
push 0x3e8
push eax
sub ecx, edx
je 0x4085b1
cmp dword [ebx + 0x174], 1
jae 0x408567
call fcn.005d5367
add esp, 0xc
inc dword [ebx + 0x174]
jmp 0x4085b9
call fcn.005d5367
lea ecx, [ebp - 0x7f0]
add esp, 0xc
xor edx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408580
sub ecx, esi
je 0x4085b9
nop dword [eax + eax]
lea eax, [ebp - 0x7f0]
mov byte [ebp + edx - 0x7f0], 0x2a
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4085a2
sub eax, esi
cmp edx, eax
jb 0x408590
jmp 0x4085b9
call fcn.005d5367
add esp, 0xc
push 0
push 0
push 0x1004
push dword [ebx + 0x540]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0
push 0
push str._Microsoft_EDGE_Browser
mov esi, eax
lea edi, [ebx + 0x520]
push esi
push 3
mov ecx, edi
call fcn.00494082
push 0
push 0
push 0
push 0xd
push 0x632d5c
push 2
push 0
push esi
mov ecx, edi
call fcn.00494203
lea eax, [ebp - 0x208]
mov ecx, edi
push eax
push 1
push esi
call fcn.004942ac
lea eax, [ebp - 0x7f0]
mov ecx, edi
push eax
push 3
push esi
call fcn.004942ac
lea eax, [ebp - 0x7f0]
mov ecx, edi
push eax
push 2
push esi
call fcn.004942ac
sub esp, 8
mov ecx, edi
push esi
call fcn.004035b0
jmp 0x40865d
lea eax, [ebp - 0x108]
mov ecx, ebx
push eax
lea eax, [ebp - 0x208]
push eax
push 4
call fcn.004072f0
mov eax, dword [ebp - 0x894]
test eax, eax
je 0x40866e
push eax
call dword [0x6981a8]
mov eax, dword [ebp - 0x8a4]
mov ecx, dword [ebp - 0x8a8]
inc eax
add ecx, 0x38
mov dword [ebp - 0x8a4], eax
mov dword [ebp - 0x8a8], ecx
cmp eax, dword [ebp - 0x89c]
jb 0x408320
mov eax, dword [ebp - 0x8a0]
test eax, eax
je 0x4086a7
push eax
call dword [0x6981a8]
mov eax, dword [ebp - 0x898]
test eax, eax
je 0x4086ca
push eax
call dword [0x6981a4]
test eax, eax
je 0x4086ca
push eax
push str.Cannot_close_vault._Error___d__n
call fcn.00404e40
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005cc070
mov esp, ebp
pop ebp
ret