Function at 0x408b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x16e0
call fcn.005ccbd0
mov eax, dword [0x658e64]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x62dfd4
push eax
lea eax, [ebp - 0x16bc]
mov dword [ebp - 0x16e0], ecx
push eax
mov dword [ebp - 0x16c0], 0
mov dword [ebp - 0x16bc], 0
mov dword [ebp - 0x16d0], 0xffc7d83
mov dword [ebp - 0x16cc], 0x69e8b38e
mov word [ebp - 0x16c8], 0xaf73
mov byte [ebp - 0x16b5], 0xff
call fcn.005d55fb
mov ecx, dword [ebp - 0x16bc]
add esp, 0xc
test ecx, ecx
je 0x408ff8
test eax, eax
jne 0x408ff8
push 2
push eax
push ecx
call fcn.005d76ef
add esp, 0xc
push dword [ebp - 0x16bc]
call fcn.005d7123
add esp, 4
mov ebx, eax
mov dword [ebp - 0x16d4], ebx
push ebx
call fcn.005d6bc1
add esp, 4
mov dword [ebp - 0x16c4], eax
push dword [ebp - 0x16bc]
test eax, eax
jne 0x408c0b
call fcn.005d1e92
jmp 0x408ff5
call fcn.005d782d
add esp, 4
push dword [ebp - 0x16bc]
push 1
push ebx
mov ebx, dword [ebp - 0x16c4]
push ebx
call fcn.005d7f47
push dword [ebp - 0x16bc]
call fcn.005d1e92
mov eax, dword [ebp - 0x16d4]
add esp, 0x14
xor esi, esi
test eax, eax
je 0x408fef
sub eax, esi
push eax
lea eax, [esi + ebx]
push 8
push eax
call fcn.005cf3b0
add esp, 0xc
test eax, eax
je 0x408fef
inc eax
mov esi, eax
mov dword [ebp - 0x16dc], eax
sub esi, ebx
lea ecx, [eax - 8]
lea edi, [eax + 8]
cmp ecx, ebx
jb 0x408fe1
mov eax, dword [ebp - 0x16d4]
add eax, ebx
cmp edi, eax
ja 0x408fe1
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
add ecx, 2
movzx ebx, byte [edi]
shl eax, 0x10
mov dword [ebp - 0x16d8], ecx
movzx ecx, byte [edi + 2]
shl edx, 0x18
or edx, eax
shl ebx, 0x18
movzx eax, byte [edi + 1]
shl eax, 0x10
or ebx, eax
shl ecx, 8
movzx eax, byte [edi + 3]
or ecx, eax
mov eax, dword [ebp - 0x16d8]
or ebx, ecx
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
shl ecx, 8
or ecx, eax
lea eax, [ebx + 0x10]
or ecx, edx
cmp ecx, eax
jne 0x408fdb
mov eax, dword [ebp - 0x16d4]
sub eax, esi
sub eax, 0xc
cmp ebx, eax
ja 0x408fdb
cmp ebx, 8
jb 0x408fdb
test bl, 7
jne 0x408fdb
mov ax, word [ebp - 0x16c8]
mov edx, 0x13
mov edi, dword [ebp - 0x16dc]
movq xmm0, qword [ebp - 0x16d0]
mov word [ebp - 0x12c], ax
mov al, byte [ebp - 0x16b5]
mov byte [ebp - 0x12a], al
movq qword [ebp - 0x134], xmm0
mov eax, dword [edi]
mov dword [ebp - 0x129], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x125], eax
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.00402000
movups xmm0, xmmword [ebp - 0x20]
mov ax, word [ebp - 0x16c8]
lea ecx, [ebp - 0x134]
mov word [ebp - 0x11c], ax
add esp, 4
mov al, byte [ebp - 0x16b5]
mov edx, 0x23
movups xmmword [ebp - 0x134], xmm0
mov byte [ebp - 0x11a], al
movq xmm0, qword [ebp - 0x16d0]
movq qword [ebp - 0x124], xmm0
mov eax, dword [edi]
mov dword [ebp - 0x119], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x115], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00402000
lea edx, [ebp - 0x16b4]
lea ecx, [ebp - 0x20]
call fcn.0040cf60
lea edx, [ebp - 0x1634]
lea ecx, [ebp - 0x18]
call fcn.0040cf60
lea edx, [ebp - 0x15b4]
lea ecx, [ebp - 0x30]
call fcn.0040cf60
mov eax, dword [ebp - 0x28]
lea ecx, [edi + 0xc]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x534]
mov eax, dword [ebp - 0x24]
add esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 0x534], 0
push eax
lea eax, [ebp - 0x15b4]
push eax
lea eax, [ebp - 0x1634]
push eax
lea eax, [ebp - 0x16b4]
push eax
push ebx
call fcn.00402d20
mov al, byte [ebp - 0x534]
add esp, 0x18
test al, al
je 0x408fd6
cmp al, 8
je 0x408fd6
movzx eax, byte [ebp + ebx - 0x535]
lea ecx, [ebp + ebx - 0x535]
push eax
sub ecx, eax
inc ecx
push 0
push ecx
call fcn.005cf9e0
lea ecx, [ebp - 0x534]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408e60
push 0
push 0
push 0x400
sub ecx, edx
lea eax, [ebp - 0x934]
push eax
sar ecx, 1
lea eax, [ebp - 0x534]
push ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x534]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408ea0
sub eax, edx
sar eax, 1
cmp eax, 0x400
jae 0x40900b
push 4
mov byte [ebp + eax - 0x934], cl
lea eax, [ebp - 0x934]
push str.http
push eax
call fcn.005d770a
add esp, 0xc
test eax, eax
jne 0x408f05
lea eax, [ebp - 0x934]
push eax
lea eax, [ebp - 0xd34]
push 0x400
push eax
call fcn.005d5367
add esp, 0xc
mov dword [ebp - 0x16c0], 1
jmp 0x408fd6
mov eax, dword [ebp - 0x16c0]
dec eax
cmp eax, 3
ja case.default.0x408f15
jmp dword [eax*4 + 0x409010]
mov dword [ebp - 0x16c0], 2
jmp 0x408fd6
lea eax, [ebp - 0x934]
push eax
lea eax, [ebp - 0x1534]
push 0x400
push eax
call fcn.005d5367
add esp, 0xc
mov dword [ebp - 0x16c0], 3
jmp 0x408fd6
mov dword [ebp - 0x16c0], 4
jmp 0x408fd6
lea eax, [ebp - 0x934]
push eax
lea eax, [ebp - 0x1134]
push 0x400
push eax
call fcn.005d5367
add esp, 0xc
mov dword [ebp - 0x16c0], 0
lea eax, [ebp - 0xd34]
push 0x400
push eax
call fcn.005d69be
lea eax, [ebp - 0xd34]
push str.instagram.com
push eax
call fcn.005cebc0
add esp, 0x10
test eax, eax
je 0x408fd6
mov ecx, dword [ebp - 0x16e0]
lea eax, [ebp - 0x1134]
push eax
lea eax, [ebp - 0x1534]
push eax
push 6
call fcn.004072f0
jmp 0x408fd6
mov dword [ebp - 0x16c0], 0
add ebx, 0xc
add esi, ebx
mov ebx, dword [ebp - 0x16c4]
mov eax, dword [ebp - 0x16d4]
cmp esi, eax
jb 0x408c46
push ebx
call fcn.005d1e17
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005cc070
mov esp, ebp
pop ebp
ret 4
call fcn.005cc6af
sbb al, 0x8f
inc eax
add byte [ebx], ch
pop dword [eax]
push ebp
pop dword [eax]
popal
pop dword [eax]