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

Disassembly:
push 0xffffffffffffffff
push 0x53a1be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
mov eax, dword [esi + 0x70]
mov dword [esp + 0x24], esi
push eax
call fcn.0043b640
mov ecx, esi
mov dword [esp + 0x284], 0
call fcn.0040a270
test eax, eax
je 0x40b7a6
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], 0xffffffff
call fcn.0043bde0
mov eax, 6
jmp 0x40c744
lea ecx, [esp + 0x14]
call fcn.0043fb10
lea ecx, [esp + 0x14]
call fcn.0043f7f0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b7de
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], 0xffffffff
call fcn.0043bde0
xor eax, eax
jmp 0x40c744
mov ebx, dword [esp + 0x28c]
push 0x583998
mov ecx, ebx
call fcn.0043c060
mov ebp, dword [esp + 0x290]
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call fcn.0043bf70
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.0043b3e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 1
call fcn.0043d110
push str.open_safe_disk
lea ecx, [esp + 0x14]
call fcn.0043cfc0
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
je 0x40b896
push str.open_safe_disk
call fcn.00422e21
add esp, 4
mov ecx, ebp
push eax
push esi
call fcn.0043d790
push ebp
lea ecx, [esp + 0x14]
call fcn.0043bf70
lea ecx, [esp + 0x10]
call fcn.0043d110
mov eax, dword [0x5925b8]
test eax, eax
je 0x40b896
mov edx, dword [esp + 0x24]
mov ecx, dword [ebp]
push ecx
mov eax, dword [edx + 0x70]
push eax
push 0x405
push str._CSDViewerApp::ParseCmdLine__Line:_d_Cmd__s__FileName__s_
push str.SDSystem
push 1
push 0x591d24
call fcn.00469d00
add esp, 0x1c
push str.encryptfile_secu_desktop_warning
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40b8d3
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 0xe
jmp 0x40c744
push str.encryptfile_secu_desktop_non_sandbox_warning
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40b910
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 0x10
jmp 0x40c744
push str.oeafile_secu_desktop_warning
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40b94d
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 0xf
jmp 0x40c744
push str.encryption_authorization_offline_oppo
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40b98a
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 0x11
jmp 0x40c744
push str.safedoc_pdf_auth_proc_warning_oppo
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40b9c7
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 0xc
jmp 0x40c744
push str.safedoc_auth_proc_warning_oppo
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40ba04
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 0xd
jmp 0x40c744
push str.safedoc_auth_proc_warning_bcs
lea ecx, [esp + 0x14]
call fcn.0043cfc0
mov esi, eax
cmp esi, edi
je 0x40baf4
push str.safedoc_auth_proc_warning_bcs
call fcn.00422e21
add esp, 4
lea ecx, [eax + esi + 1]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0043e0d0
push 0x7c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 2
call fcn.0043cee0
mov esi, eax
cmp esi, edi
je 0x40bab8
lea eax, [esi + 1]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0043e0d0
push eax
mov ecx, ebp
mov byte [esp + 0x288], 3
call fcn.0043bf70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 2
call fcn.0043bde0
lea edx, [esp + 0x1c]
push esi
push edx
lea ecx, [esp + 0x20]
call fcn.0043e520
push eax
mov ecx, ebx
mov byte [esp + 0x288], 4
call fcn.0043bf70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 2
call fcn.0043bde0
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 1
call fcn.0043bde0
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 0x1e
jmp 0x40c744
push str.safedoc_auth_proc_warning
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40bb31
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 4
jmp 0x40c744
push str.safedisk_auth_proc_warning
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40bb6e
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 5
jmp 0x40c744
push str.sharefolder_auth_proc_warning
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40bbab
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 7
jmp 0x40c744
push str.user_logon_warning
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40bbe8
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 8
jmp 0x40c744
push str.transform_error
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40bc25
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 9
jmp 0x40c744
push str.transform_auth_error
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40bc62
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 0xa
jmp 0x40c744
push str.uninstall_agent
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40bc9f
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 0xb
jmp 0x40c744
push str.sdsystem_no_has_encryt_author
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40bcf0
mov ecx, dword [esp + 0x24]
push 0
call fcn.0040ed40
mov esi, eax
lea ecx, [esp + 0x10]
neg esi
sbb esi, esi
mov byte [esp + 0x284], 0
and esi, 4
add esi, 0x1f
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, esi
jmp 0x40c744
push str.sdsystem_state_invalid
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40bd41
mov ecx, dword [esp + 0x24]
push 0
call fcn.0040ed40
mov esi, eax
lea ecx, [esp + 0x10]
neg esi
sbb esi, esi
mov byte [esp + 0x284], 0
and esi, 4
add esi, 0x20
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, esi
jmp 0x40c744
push str.safedoc_file_no_access
lea ecx, [esp + 0x14]
call fcn.0043cfc0
cmp eax, edi
je 0x40bd92
mov ecx, dword [esp + 0x24]
push 0
call fcn.0040ed40
mov esi, eax
lea ecx, [esp + 0x10]
neg esi
sbb esi, esi
mov byte [esp + 0x284], 0
and esi, 4
add esi, 0x21
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, esi
jmp 0x40c744
push str.sdsystem_no_auth_proc_running
lea ecx, [esp + 0x14]
call fcn.0043cfc0
mov esi, eax
cmp esi, edi
je 0x40bebc
mov ecx, dword [esp + 0x24]
push 0
call fcn.0040ed40
test eax, eax
je 0x40bde4
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 0x26
jmp 0x40c744
push str.sdsystem_no_auth_proc_running
call fcn.00422e21
add esp, 4
lea eax, [eax + esi + 1]
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0043e0d0
push 0x7c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 5
call fcn.0043cee0
mov esi, eax
cmp esi, edi
je 0x40be80
lea edx, [esi + 1]
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.0043e0d0
push eax
mov ecx, ebp
mov byte [esp + 0x288], 6
call fcn.0043bf70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 5
call fcn.0043bde0
lea ecx, [esp + 0x1c]
push esi
push ecx
lea ecx, [esp + 0x20]
call fcn.0043e520
push eax
mov ecx, ebx
mov byte [esp + 0x288], 7
call fcn.0043bf70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 5
call fcn.0043bde0
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 1
call fcn.0043bde0
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 0x22
jmp 0x40c744
push str._injectpid:
lea ecx, [esp + 0x14]
call fcn.0043cfc0
mov esi, eax
cmp esi, edi
je 0x40bfa5
push str._injectpid:
call fcn.00422e21
add esp, 4
add eax, esi
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push edx
call fcn.0043e0d0
mov eax, dword [esp + 0x298]
mov ecx, dword [esp + 0x18]
push eax
push 0x569618
push ecx
mov byte [esp + 0x290], 8
call fcn.00422e3e
add esp, 0xc
lea ecx, [esp + 0x18]
push str._injecttype:
call fcn.0043cfc0
mov esi, eax
cmp esi, edi
je 0x40bf69
push str._injecttype:
call fcn.00422e21
add esp, 4
add eax, esi
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push edx
call fcn.0043e0d0
mov eax, dword [esp + 0x29c]
mov ecx, dword [esp + 0x20]
push eax
push 0x569618
push ecx
call fcn.00422e3e
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0043bde0
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 1
call fcn.0043bde0
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], edi
call fcn.0043bde0
mov eax, 3
jmp 0x40c744
push str._process:
lea ecx, [esp + 0x14]
call fcn.0043cfc0
mov esi, eax
cmp esi, edi
je 0x40c0a9
lea edx, [esp + 0x1c]
push esi
push edx
lea ecx, [esp + 0x1c]
call fcn.0043e520
push eax
mov ecx, ebp
mov byte [esp + 0x288], 9
call fcn.0043bf70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 1
call fcn.0043bde0
push str._process:
call fcn.00422e21
add esp, 4
add eax, esi
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0043e0d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 0xa
call fcn.0043fb10
mov ecx, dword [esp + 0x18]
mov ax, word [ecx]
cmp ax, 0x22
jne 0x40c074
push 1
push 0x22
lea ecx, [esp + 0x20]
call fcn.0043cf20
cmp eax, edi
je 0x40c06d
inc eax
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.0043e520
push eax
mov ecx, ebx
mov byte [esp + 0x288], 0xb
call fcn.0043bf70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 0xa
call fcn.0043bde0
jmp 0x40c080
lea eax, [esp + 0x18]
push eax
jmp 0x40c079
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.0043bf70
push 0x56c864
mov ecx, ebx
call fcn.0043f8e0
push 0x56c864
mov ecx, ebx
call fcn.0043f5f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 1
call fcn.0043bde0
push str._shortcut:
lea ecx, [esp + 0x14]
call fcn.0043cfc0
mov esi, dword [esp + 0x294]
mov edi, eax
cmp edi, 0xffffffff
je 0x40c242
push 0x583998
mov ecx, ebp
call fcn.0043c060
push str._shortcut:
call fcn.00422e21
add esp, 4
add eax, edi
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push edx
call fcn.0043e0d0
push eax
mov ecx, esi
mov byte [esp + 0x288], 0xc
call fcn.0043bf70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 1
call fcn.0043bde0
mov ecx, esi
call fcn.0043fb10
mov ecx, esi
call fcn.0043f7f0
push esi
lea ecx, [esp + 0x1c]
call fcn.0043b3e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 0xd
call fcn.0043d110
push str..exe_
lea ecx, [esp + 0x1c]
call fcn.0043cfc0
mov edi, eax
push 0x569804
cmp edi, 0xffffffff
jne 0x40c190
lea ecx, [esp + 0x1c]
call fcn.0043cfc0
mov edi, eax
cmp edi, 0xffffffff
jne 0x40c18b
push 0x56c838
lea ecx, [esp + 0x1c]
call fcn.0043cfc0
mov edi, eax
cmp edi, 0xffffffff
jne 0x40c1a3
push 0x20
lea ecx, [esp + 0x1c]
call fcn.0043cee0
mov edi, eax
jmp 0x40c19a
push 0x569804
call fcn.00422e21
add esp, 4
add edi, eax
cmp edi, 0xffffffff
je 0x40c231
lea eax, [esp + 0x1c]
push edi
push eax
mov ecx, esi
call fcn.0043e520
push eax
mov ecx, ebx
mov byte [esp + 0x288], 0xe
call fcn.0043bf70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 0xd
call fcn.0043bde0
push 0x56c838
mov ecx, ebx
call fcn.0043f8e0
push 0x56c838
mov ecx, ebx
call fcn.0043f5f0
push 0x583998
lea ecx, [esp + 0x24]
call fcn.0043b640
mov eax, dword [ebx]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x28c], 0xf
call fcn.0040ea20
test eax, eax
je 0x40c220
lea edx, [esp + 0x20]
mov ecx, ebx
push edx
call fcn.0043bf70
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0xd
call fcn.0043bde0
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 1
call fcn.0043bde0
push str._cmdline:
lea ecx, [esp + 0x14]
call fcn.0043cfc0
mov edi, eax
cmp edi, 0xffffffff
je 0x40c50f
lea eax, [esp + 0x1c]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.0043e520
push eax
mov ecx, ebp
mov byte [esp + 0x288], 0x10
call fcn.0043bf70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 1
call fcn.0043bde0
push 0x56c838
mov ecx, ebp
call fcn.0043f8e0
push 0x56c838
mov ecx, ebp
call fcn.0043f5f0
push str._cmdline:
call fcn.00422e21
add esp, 4
add eax, edi
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043e0d0
push eax
mov ecx, esi
mov byte [esp + 0x288], 0x11
call fcn.0043bf70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 1
call fcn.0043bde0
mov ecx, esi
call fcn.0043fb10
mov ecx, esi
call fcn.0043f7f0
push esi
lea ecx, [esp + 0x1c]
call fcn.0043b3e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 0x12
call fcn.0043d110
push str..exe_
lea ecx, [esp + 0x1c]
call fcn.0043cfc0
mov edi, eax
push 0x569804
cmp edi, 0xffffffff
jne 0x40c35e
lea ecx, [esp + 0x1c]
call fcn.0043cfc0
mov edi, eax
cmp edi, 0xffffffff
jne 0x40c359
push 0x56c838
lea ecx, [esp + 0x1c]
call fcn.0043cfc0
mov edi, eax
cmp edi, 0xffffffff
jne 0x40c371
push 0x20
lea ecx, [esp + 0x1c]
call fcn.0043cee0
mov edi, eax
jmp 0x40c368
push 0x569804
call fcn.00422e21
add esp, 4
add edi, eax
cmp edi, 0xffffffff
je 0x40c3ff
lea edx, [esp + 0x1c]
push edi
push edx
mov ecx, esi
call fcn.0043e520
push eax
mov ecx, ebx
mov byte [esp + 0x288], 0x13
call fcn.0043bf70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 0x12
call fcn.0043bde0
push 0x56c838
mov ecx, ebx
call fcn.0043f8e0
push 0x56c838
mov ecx, ebx
call fcn.0043f5f0
push 0x583998
lea ecx, [esp + 0x24]
call fcn.0043b640
mov eax, dword [ebx]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x28c], 0x14
call fcn.0040ea20
test eax, eax
je 0x40c3ee
lea edx, [esp + 0x20]
mov ecx, ebx
push edx
call fcn.0043bf70
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0x12
call fcn.0043bde0
mov edi, dword [esp + 0x2a0]
mov ecx, esi
mov dword [edi], 0
mov eax, dword [ebp]
push eax
push 0x56c81c
call fcn.0043dd20
test eax, eax
jne 0x40c4fe
push 0x583998
lea ecx, [esp + 0x24]
call fcn.0043b640
push 0x583998
lea ecx, [esp + 0x20]
mov byte [esp + 0x288], 0x15
call fcn.0043b640
mov eax, dword [ebp]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x24]
push edx
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov byte [esp + 0x294], 0x16
mov dword [esp + 0x38], 0
call fcn.0040e320
mov eax, dword [ebx]
mov edx, dword [esp + 0x20]
push eax
push edx
call fcn.00422e74
add esp, 8
test eax, eax
jne 0x40c490
mov dword [edi], 1
jmp 0x40c4dc
mov eax, dword [ebx]
push str.wps.exe
push eax
call fcn.00445c70
add esp, 8
test eax, eax
je 0x40c4c7
mov eax, dword [ebp]
push str..pdf
push eax
call fcn.00445c70
add esp, 8
test eax, eax
je 0x40c4c7
mov eax, dword [ebp]
mov ecx, dword [ebx]
push eax
push ecx
push str.__s___pdf___s_
jmp 0x40c4d3
mov edx, dword [ebp]
mov eax, dword [ebx]
push edx
push eax
push str.__s____s_
push esi
call fcn.0043ed60
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 0x15
call fcn.0043bde0
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0x12
call fcn.0043bde0
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 1
call fcn.0043bde0
push 0x56c864
mov ecx, ebp
call fcn.0043f8e0
push 0x56c864
mov ecx, ebp
call fcn.0043f5f0
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40c664
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40c56d
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], 0xffffffff
call fcn.0043bde0
xor eax, eax
jmp 0x40c744
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], 0
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
test esi, esi
je 0x40c664
push 0x5c
mov ecx, ebp
call fcn.0043cf90
cmp eax, 0xffffffff
je 0x40c65d
lea edi, [eax + 1]
lea edx, [esp + 0x20]
push edi
push edx
mov ecx, ebp
call fcn.0043e0d0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x58]
push eax
push ecx
mov byte [esp + 0x28c], 0x17
call fcn.00422e74
add esp, 8
test eax, eax
jne 0x40c64c
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x58]
push edx
push eax
call fcn.00423745
add esp, 8
test eax, eax
je 0x40c64c
lea ecx, [esp + 0x1c]
push edi
push ecx
mov ecx, ebp
call fcn.0043e520
lea edx, [esp + 0x58]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x290], 0x18
call fcn.0043c550
push eax
mov ecx, ebp
mov byte [esp + 0x288], 0x19
call fcn.0043bf70
lea ecx, [esp + 0x28]
mov byte [esp + 0x284], 0x18
call fcn.0043bde0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 0x17
call fcn.0043bde0
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 1
call fcn.0043bde0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40c6e3
push str.openway
push eax
call fcn.00422e74
add esp, 8
test eax, eax
jne 0x40c6a4
mov ecx, ebx
call fcn.0043bb50
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
mov dword [esp + 0x284], 0xffffffff
jmp 0x40c6d3
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or esi, 0xffffffff
cmp eax, esi
jne 0x40c6e6
mov ecx, ebx
call fcn.0043bb50
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
mov dword [esp + 0x284], esi
lea ecx, [esp + 0x14]
call fcn.0043bde0
mov eax, 2
jmp 0x40c744
or esi, 0xffffffff
mov edx, dword [ebp]
mov eax, dword [edx - 8]
test eax, eax
jne 0x40c71e
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c71e
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], esi
call fcn.0043bde0
xor eax, eax
jmp 0x40c744
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 0
call fcn.0043bde0
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], esi
call fcn.0043bde0
mov eax, 1
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x278
ret 0x18