Function at 0x404460
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Print debug messages
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e218
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x42c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2cc], ecx
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x3c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 0x44]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push 0x429048
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp + 8]
call fcn.004042c0
lea ecx, [ebp + 8]
cmp ecx, eax
je 0x40455d
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x404519
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0x1c]
cmp eax, edx
ja 0x404546
lea esi, [eax + eax]
mov dword [ebp + 0x18], eax
cmp edx, 8
lea edi, [ebp + 8]
push esi
cmovae edi, dword [ebp + 8]
push ecx
push edi
call fcn.0040a350
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x40455d
push ecx
mov byte [ebp - 0x2bc], 0
lea ecx, [ebp + 8]
push dword [ebp - 0x2bc]
push eax
call fcn.00401b90
lea ecx, [ebp + 0x20]
call fcn.004042c0
lea ecx, [ebp + 0x20]
cmp ecx, eax
je 0x4045ba
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x404576
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0x34]
cmp eax, edx
ja 0x4045a3
lea esi, [eax + eax]
mov dword [ebp + 0x30], eax
cmp edx, 8
lea edi, [ebp + 0x20]
push esi
cmovae edi, dword [ebp + 0x20]
push ecx
push edi
call fcn.0040a350
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x4045ba
push ecx
mov byte [ebp - 0x2bc], 0
lea ecx, [ebp + 0x20]
push dword [ebp - 0x2bc]
push eax
call fcn.00401b90
cmp dword [ebp + 0x18], 0
je 0x404efd
cmp dword [ebp + 0x30], 0
je 0x404efd
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x429110
call edi
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2e4], xmm0
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 0
lea edx, [eax - 1]
cmp eax, edx
jb 0x4050d7
sub eax, edx
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x2e4]
lea eax, [eax + edx*2]
push eax
call fcn.00401a90
push ecx
lea ecx, [ebp - 0x2e4]
call fcn.004058e0
mov ecx, dword [ebp - 0x2d0]
mov esi, eax
cmp ecx, 8
jb 0x40467c
mov edx, dword [ebp - 0x2e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404672
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4050dc
push ecx
push edx
call fcn.0040895b
add esp, 8
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2bc], eax
test esi, esi
jne 0x40474d
cmp dword [ebp + 0x1c], 8
cmovae ecx, dword [ebp + 8]
cmp eax, edx
ja 0x4046c7
cmp edx, 8
mov dword [ebp - 0x18], eax
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
add eax, eax
push eax
push ecx
push esi
call fcn.0040a350
mov eax, dword [ebp - 0x2bc]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x4046de
push ecx
mov byte [ebp - 0x2bc], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2bc]
push eax
call fcn.00401b90
push 0x429124
lea ecx, [ebp - 0x28]
call fcn.00405ab0
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x2bc], eax
cmp eax, edx
ja 0x404731
cmp edx, 8
mov dword [ebp - 0x48], eax
lea esi, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
add eax, eax
push eax
push ecx
push esi
call fcn.0040a350
mov eax, dword [ebp - 0x2bc]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x40480c
push ecx
mov byte [ebp - 0x2bc], 0
lea ecx, [ebp - 0x58]
push dword [ebp - 0x2bc]
push eax
call fcn.00401b90
jmp 0x40480c
cmp dword [ebp + 0x1c], 8
cmovae ecx, dword [ebp + 8]
cmp eax, edx
ja 0x404781
cmp edx, 8
mov dword [ebp - 0x18], eax
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
add eax, eax
push eax
push ecx
push esi
call fcn.0040a350
mov eax, dword [ebp - 0x2bc]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x404798
push ecx
mov byte [ebp - 0x2bc], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2bc]
push eax
call fcn.00401b90
push str..
lea ecx, [ebp - 0x28]
call fcn.00405ab0
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x2bc], eax
cmp eax, edx
ja 0x4047e8
cmp edx, 8
mov dword [ebp - 0x48], eax
lea esi, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
add eax, eax
push eax
push ecx
push esi
call fcn.0040a350
mov eax, dword [ebp - 0x2bc]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x4047ff
push ecx
mov byte [ebp - 0x2bc], 0
lea ecx, [ebp - 0x58]
push dword [ebp - 0x2bc]
push eax
call fcn.00401b90
push 0x425a8c
lea ecx, [ebp - 0x58]
call fcn.00405ab0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2b8]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, eax
mov eax, 1
mov dword [ebp - 0x2bc], ecx
cmp ecx, 0xffffffff
je 0x4049a2
nop dword [eax + eax]
test eax, eax
je 0x40499c
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov edi, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x2c]
cmp edi, eax
ja 0x404880
cmp eax, 8
mov dword [ebp - 0x30], edi
lea eax, [edi + edi]
push eax
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
push ecx
push esi
call fcn.0040a350
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x404897
push ecx
mov byte [ebp - 0x2c5], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x2c5]
push edi
call fcn.00401b90
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405ab0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
push 0x429138
call edi
test byte [ebp - 0x2b8], 0x10
jbe 0x404984
cmp word [ebp - 0x28c], 0x2e
je 0x404984
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov edi, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x2c]
cmp edi, eax
ja 0x404914
cmp eax, 8
mov dword [ebp - 0x30], edi
lea eax, [edi + edi]
push eax
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
push ecx
push esi
call fcn.0040a350
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x40492b
push ecx
mov byte [ebp - 0x2c0], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x2c0]
push edi
call fcn.00401b90
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405ab0
push dword [ebp - 0x64]
lea eax, [ebp + 0x20]
push dword [ebp - 0x68]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2e8], esp
push eax
call fcn.00405960
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00405960
mov ecx, dword [ebp - 0x2cc]
mov byte [ebp - 4], 4
call fcn.00404460
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x40
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x2bc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x404840
mov ecx, dword [ebp - 0x2bc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x429140
call edi
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2e4], xmm0
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 0
lea ecx, [eax - 1]
cmp eax, ecx
jb 0x4050d7
sub eax, ecx
mov edx, 1
cmp eax, 1
cmovb edx, eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push edx
lea eax, [eax + ecx*2]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00401a90
push ecx
lea ecx, [ebp - 0x2e4]
call fcn.004058e0
mov ecx, dword [ebp - 0x2d0]
mov esi, eax
cmp ecx, 8
jb 0x404a52
mov edx, dword [ebp - 0x2e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404a48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4050dc
push ecx
push edx
call fcn.0040895b
add esp, 8
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c0], eax
test esi, esi
jne 0x404b90
cmp dword [ebp + 0x1c], 8
cmovae ecx, dword [ebp + 8]
cmp eax, edx
ja 0x404a9d
cmp edx, 8
mov dword [ebp - 0x18], eax
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
add eax, eax
push eax
push ecx
push esi
call fcn.0040a350
mov eax, dword [ebp - 0x2c0]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x404ab4
push ecx
mov byte [ebp - 0x2c0], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c0]
push eax
call fcn.00401b90
cmp dword [ebp + 0x34], 8
lea edx, [ebp + 0x20]
mov esi, dword [ebp - 0x18]
cmovae edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x30]
sub eax, esi
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 0x2bc], esi
cmp ecx, eax
ja 0x404b16
cmp dword [ebp - 0x14], 8
lea eax, [esi + ecx]
mov dword [ebp - 0x18], eax
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp - 0x2bc]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.0040a350
mov eax, dword [ebp - 0x2c0]
add esp, 0xc
add eax, dword [ebp - 0x2bc]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x404b2e
push ecx
push edx
mov byte [ebp - 0x2c0], 0
push dword [ebp - 0x2c0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00401cc0
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x2c0], eax
cmp eax, edx
ja 0x404b74
cmp edx, 8
mov dword [ebp - 0x48], eax
lea esi, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
add eax, eax
push eax
push ecx
push esi
call fcn.0040a350
mov eax, dword [ebp - 0x2c0]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x404cc9
push ecx
mov byte [ebp - 0x2c0], 0
lea ecx, [ebp - 0x58]
push dword [ebp - 0x2c0]
push eax
call fcn.00401b90
jmp 0x404cc9
cmp dword [ebp + 0x1c], 8
cmovae ecx, dword [ebp + 8]
cmp eax, edx
ja 0x404bc4
cmp edx, 8
mov dword [ebp - 0x18], eax
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
add eax, eax
push eax
push ecx
push esi
call fcn.0040a350
mov eax, dword [ebp - 0x2c0]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x404bdb
push ecx
mov byte [ebp - 0x2c0], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c0]
push eax
call fcn.00401b90
push 0x425a8c
lea ecx, [ebp - 0x28]
call fcn.00405ab0
cmp dword [ebp + 0x34], 8
lea edx, [ebp + 0x20]
mov esi, dword [ebp - 0x18]
cmovae edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x30]
sub eax, esi
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 0x2bc], esi
cmp ecx, eax
ja 0x404c4a
cmp dword [ebp - 0x14], 8
lea eax, [esi + ecx]
mov dword [ebp - 0x18], eax
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp - 0x2bc]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.0040a350
mov eax, dword [ebp - 0x2c0]
add esp, 0xc
add eax, dword [ebp - 0x2bc]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x404c62
push ecx
push edx
mov byte [ebp - 0x2c0], 0
push dword [ebp - 0x2c0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00401cc0
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x2c0], eax
cmp eax, edx
ja 0x404ca5
cmp edx, 8
mov dword [ebp - 0x48], eax
lea esi, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
add eax, eax
push eax
push ecx
push esi
call fcn.0040a350
mov eax, dword [ebp - 0x2c0]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x404cbc
push ecx
mov byte [ebp - 0x2c0], 0
lea ecx, [ebp - 0x58]
push dword [ebp - 0x2c0]
push eax
call fcn.00401b90
push 0x425a8c
lea ecx, [ebp - 0x58]
call fcn.00405ab0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2b8]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, eax
mov dword [ebp - 0x2bc], ecx
mov eax, 1
cmp ecx, 0xffffffff
je 0x404ea5
nop
test eax, eax
je 0x404e9f
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov edi, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x2c]
cmp edi, eax
ja 0x404d46
cmp eax, 8
mov dword [ebp - 0x30], edi
lea eax, [edi + edi]
push eax
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
push ecx
push esi
call fcn.0040a350
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x404d5d
push ecx
mov byte [ebp - 0x2c0], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x2c0]
push edi
call fcn.00401b90
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405ab0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
push 0x429138
call edi
test byte [ebp - 0x2b8], 0x10
ja 0x404e87
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov edi, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x2c]
cmp edi, eax
ja 0x404dcc
cmp eax, 8
mov dword [ebp - 0x30], edi
lea eax, [edi + edi]
push eax
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
push ecx
push esi
call fcn.0040a350
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x404de3
push ecx
mov byte [ebp - 0x2c5], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x2c5]
push edi
call fcn.00401b90
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405ab0
mov edi, dword [sym.imp.KERNEL32.dll_CompareFileTime]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x2a4]
push eax
call edi
mov esi, eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x2a4]
push eax
call edi
test esi, esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
js 0x404e81
test eax, eax
jg 0x404e81
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0x80
cmovae eax, dword [ebp - 0x40]
push eax
call esi
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Delete_:
call edi
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
push 0x429138
call edi
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x2bc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x404d00
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x2bc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x404d00
mov ecx, dword [ebp - 0x2bc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0x80
cmovae eax, dword [ebp + 8]
push eax
call esi
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push str.Delete_:
call edi
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call edi
push 0x429138
call edi
push 0x429168
call edi
mov byte [ebp - 0x2c1], 1
jmp 0x404f4c
mov eax, dword [ebp - 0x2cc]
cmp dword [eax + 0x14], 0x32
jb 0x404f2a
mov esi, dword [eax]
push 0x64
push str.wstringFindPath_and_wstringFileName_cant_be_empty.
push esi
mov dword [eax + 0x10], 0x32
call fcn.0040a350
add esp, 0xc
xor eax, eax
mov word [esi + 0x64], ax
jmp 0x404f45
push str.wstringFindPath_and_wstringFileName_cant_be_empty.
mov byte [ebp - 0x2c0], 0
mov ecx, eax
push dword [ebp - 0x2c0]
push 0x32
call fcn.00401b90
mov byte [ebp - 0x2c1], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x404f86
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404f7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4050dc
push ecx
push edx
call fcn.0040895b
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x404fd4
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404fca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4050dc
push ecx
push edx
call fcn.0040895b
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 8
jb 0x405022
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405018
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4050dc
push ecx
push edx
call fcn.0040895b
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x40506c
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405062
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4050dc
push ecx
push edx
call fcn.0040895b
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 8
jb 0x4050b6
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4050ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4050dc
push ecx
push edx
call fcn.0040895b
add esp, 8
mov al, byte [ebp - 0x2c1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040891d
mov esp, ebp
pop ebp
ret
call fcn.00401a80
call fcn.0040e6af
int3