Function at 0x100e3430
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0x58
push 0xffffffffffffffff
push 0x1011d534
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x47c
push ebx
push esi
push edi
xor eax, eax
xorps xmm0, xmm0
push ecx
mov dword [ebp], eax
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x30], eax
movlpd qword [ebp + 4], xmm0
call fcn.1001cdf0
mov edx, 0x10
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.100e6b40
xorps xmm0, xmm0
xor ebx, ebx
mov esi, 7
movlpd qword [ebp - 0x4c], xmm0
xor eax, eax
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], esi
mov word [ebp - 0x24], ax
push 4
mov byte [ebp - 4], 1
call fcn.1006fcb6
mov dword [ebp + 0x2c], eax
mov dword [ebp - 0x5c], eax
mov dword [eax], 0xffffffff
push 0x10139f18
lea edx, [ebp + 0x10]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x3c]
call fcn.1002f240
add esp, 8
mov edi, eax
mov eax, dword [ebp + 0x2c]
mov byte [ebp - 4], 3
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x100e34f5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100e3515
mov eax, dword [ebp + 0x2c]
mov dword [eax], 0xffffffff
cmp dword [edi + 0x14], 8
jb 0x100e34fd
mov edi, dword [edi]
lea eax, [ebp - 0x2c8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x100e351b
mov byte [ebp + 0x57], 0
jmp 0x100e3535
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.1003c150
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov byte [ebp + 0x57], 1
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x50]
cmp edx, 8
jb 0x100e3573
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e3569
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e3c6f
push edx
push ecx
call fcn.1006fca3
add esp, 8
cmp byte [ebp + 0x57], 0
je 0x100e39f7
mov ecx, dword [ebp - 0x2c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100e358e
mov al, 1
jmp 0x100e3590
xor al, al
test al, al
je 0x100e35d5
test ebx, ebx
je 0x100e35d5
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
cmp esi, 8
cmovae eax, edi
cmp word [eax], 0x2e
jne 0x100e35d5
cmp ebx, 1
je 0x100e35c4
cmp esi, 8
lea eax, [ebp - 0x24]
cmovae eax, edi
cmp word [eax + 2], 0x2e
jne 0x100e35d5
cmp ebx, 2
jne 0x100e35d5
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x38], eax
jmp 0x100e36a0
or ecx, 0
je 0x100e35de
mov al, 1
jmp 0x100e35e0
xor al, al
test al, al
lea edx, [ebp + 0x10]
lea eax, [ebp - 0x24]
lea ecx, [ebp + 0x3c]
push eax
je 0x100e363e
call fcn.1002f7a0
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.100e3430
mov byte [ebp - 4], 2
mov esi, dword [ebp + 0x50]
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x34], edx
cmp esi, 8
jb 0x100e3692
mov ecx, dword [ebp + 0x3c]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x100e363b
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e3c74
push esi
jmp 0x100e3689
call fcn.1002f7a0
add esp, 4
lea ecx, [ebp + 0x3c]
call fcn.100e4e90
movzx eax, al
cdq
mov dword [ebp + 0x34], edx
mov edx, dword [ebp + 0x50]
mov dword [ebp + 0x38], eax
cmp edx, 8
jb 0x100e3692
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e3688
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e3c79
push edx
push ecx
call fcn.1006fca3
add esp, 8
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
nop dword [eax + eax]
mov ebx, dword [ebp + 0x2c]
lea eax, [ebp - 0x2c8]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x100e3a09
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.1003c150
mov ecx, dword [ebp - 0x2c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100e36db
mov al, 1
jmp 0x100e36dd
xor al, al
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
test al, al
je 0x100e3717
test ebx, ebx
je 0x100e3717
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
cmp esi, 8
cmovae eax, edi
cmp word [eax], 0x2e
jne 0x100e3717
cmp ebx, 1
je 0x100e36a0
cmp esi, 8
lea eax, [ebp - 0x24]
cmovae eax, edi
cmp word [eax + 2], 0x2e
jne 0x100e3717
cmp ebx, 2
je 0x100e36a0
or ecx, 0
je 0x100e3720
mov al, 1
jmp 0x100e3722
xor al, al
test al, al
je 0x100e3872
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x3c]
xor eax, eax
mov dword [ebp + 0x4c], 0
mov word [ebp + 0x3c], ax
mov eax, dword [ebp + 0x30]
or eax, 1
mov dword [ebp + 0x50], 7
mov dword [ebp + 0x30], eax
mov dword [ebp], eax
mov eax, dword [ebp + 0x20]
add eax, ebx
push eax
call fcn.10021790
cmp dword [ebp + 0x24], 8
lea edx, [ebp + 0x10]
mov esi, dword [ebp + 0x4c]
cmovae edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x20]
sub eax, esi
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x28], esi
cmp ecx, eax
ja 0x100e37af
cmp dword [ebp + 0x50], 8
lea eax, [esi + ecx]
mov dword [ebp + 0x4c], eax
lea esi, [ebp + 0x3c]
cmovae esi, dword [ebp + 0x3c]
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp + 0x28]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.10073b10
mov eax, dword [ebp + 0xc]
add esp, 0xc
add eax, dword [ebp + 0x28]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x100e37c1
push ecx
push edx
mov byte [ebp - 0x50], 0
push dword [ebp - 0x50]
push ecx
lea ecx, [ebp + 0x3c]
call fcn.1001f850
cmp dword [ebp - 0x10], 8
lea ecx, [ebp - 0x24]
mov eax, dword [ebp + 0x50]
mov edx, dword [ebp + 0x4c]
cmovae ecx, edi
sub eax, edx
cmp ebx, eax
ja 0x100e3801
cmp dword [ebp + 0x50], 8
lea esi, [ebp + 0x3c]
lea eax, [ebx + ebx]
cmovae esi, dword [ebp + 0x3c]
lea edi, [edx + ebx]
push eax
push ecx
mov dword [ebp + 0x4c], edi
lea eax, [esi + edx*2]
push eax
call fcn.10073b10
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100e3813
push ebx
push ecx
mov byte [ebp - 0x54], 0
lea ecx, [ebp + 0x3c]
push dword [ebp - 0x54]
push ebx
call fcn.1001f850
mov edi, dword [ebp - 0x24]
lea ecx, [ebp + 0x3c]
call fcn.100e3430
add dword [ebp + 0x38], eax
adc dword [ebp + 0x34], edx
and dword [ebp + 0x30], 0xfffffffe
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x50]
mov esi, dword [ebp - 0x10]
cmp edx, 8
jb 0x100e36a0
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e3863
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e3c6f
push edx
push ecx
call fcn.1006fca3
add esp, 8
jmp 0x100e3695
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x3c]
xor eax, eax
mov dword [ebp + 0x4c], 0
mov word [ebp + 0x3c], ax
mov eax, dword [ebp + 0x30]
or eax, 2
mov dword [ebp + 0x50], 7
mov dword [ebp + 0x30], eax
mov dword [ebp], eax
mov eax, dword [ebp + 0x20]
add eax, ebx
push eax
call fcn.10021790
cmp dword [ebp + 0x24], 8
lea edx, [ebp + 0x10]
mov esi, dword [ebp + 0x4c]
cmovae edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x20]
sub eax, esi
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x28], esi
cmp ecx, eax
ja 0x100e38f7
cmp dword [ebp + 0x50], 8
lea eax, [esi + ecx]
mov dword [ebp + 0x4c], eax
lea esi, [ebp + 0x3c]
cmovae esi, dword [ebp + 0x3c]
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp + 0x28]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.10073b10
mov eax, dword [ebp + 0xc]
add esp, 0xc
add eax, dword [ebp + 0x28]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x100e3909
push ecx
push edx
mov byte [ebp - 0x58], 0
push dword [ebp - 0x58]
push ecx
lea ecx, [ebp + 0x3c]
call fcn.1001f850
cmp dword [ebp - 0x10], 8
lea ecx, [ebp - 0x24]
mov eax, dword [ebp + 0x50]
mov edx, dword [ebp + 0x4c]
cmovae ecx, edi
sub eax, edx
cmp ebx, eax
ja 0x100e3949
cmp dword [ebp + 0x50], 8
lea esi, [ebp + 0x3c]
lea eax, [ebx + ebx]
cmovae esi, dword [ebp + 0x3c]
lea edi, [edx + ebx]
push eax
push ecx
mov dword [ebp + 0x4c], edi
lea eax, [esi + edx*2]
push eax
call fcn.10073b10
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100e395b
push ebx
push ecx
mov byte [ebp + 8], 0
lea ecx, [ebp + 0x3c]
push dword [ebp + 8]
push ebx
call fcn.1001f850
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
mov edi, dword [ebp - 0x24]
cmovae eax, dword [ebp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x100e398a
and eax, 0xfffffffe
lea ecx, [ebp + 0x3c]
cmp dword [ebp + 0x50], 8
push eax
cmovae ecx, dword [ebp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
dec eax
neg eax
sbb eax, eax
inc eax
add dword [ebp + 0x38], eax
adc dword [ebp + 0x34], 0
and dword [ebp + 0x30], 0xfffffffd
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x50]
mov esi, dword [ebp - 0x10]
cmp edx, 8
jb 0x100e36a0
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e39e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e3c6f
push edx
push ecx
call fcn.1006fca3
add esp, 8
jmp 0x100e3695
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp + 0x2c]
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 0x38], eax
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x100e3a21
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100e3a21
mov dword [ebx], 0xffffffff
mov edx, 0x20
lea ecx, [ebp + 0x10]
call fcn.100e6b40
mov dword [ebp + 0x50], 7
xor eax, eax
mov byte [ebp - 4], 7
push 0x412
push eax
mov word [ebp + 0x3c], ax
lea eax, [ebp - 0x488]
push eax
mov dword [ebp + 0x4c], 0
call fcn.10074090
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add esp, 0xc
push 0
push 0
call ebx
test eax, eax
je 0x100e3b5f
cmp eax, 0x208
jae 0x100e3b5f
lea eax, [ebp - 0x488]
push eax
push 0x209
call ebx
test eax, eax
je 0x100e3b5f
cmp eax, 0x208
jae 0x100e3b5f
xor eax, eax
lea ecx, [ebp - 0x488]
mov word [ebp - 0x78], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e3ab0
sub ecx, edx
lea eax, [ebp - 0x488]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x3c]
call fcn.1001a860
mov edx, 0x20
lea ecx, [ebp + 0x3c]
call fcn.100e6b40
cmp dword [ebp + 0x24], 8
lea edx, [ebp + 0x10]
mov ebx, dword [ebp + 0x3c]
lea ecx, [ebp + 0x3c]
cmovae edx, dword [ebp + 0x10]
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x4c]
cmovae ecx, ebx
cmp eax, dword [ebp + 0x20]
jne 0x100e3b62
push eax
call fcn.1001c9e0
add esp, 4
test eax, eax
jne 0x100e3b62
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x74]
call fcn.100e68f0
cmp dword [eax + 0x14], 8
jb 0x100e3b1c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x100e3b62
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e3b53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e3c7e
push edx
push ecx
call fcn.1006fca3
add esp, 8
jmp 0x100e3b62
mov ebx, dword [ebp + 0x3c]
cmp dword [ebp + 0x24], 8
lea eax, [ebp + 0x10]
push 0x10
cmovae eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 0x24], 8
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x100e3b94
add dword [ebp + 0x38], 1
adc dword [ebp + 0x34], 0
mov eax, dword [ebp + 0x50]
cmp eax, 8
jb 0x100e3bcb
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x100e3bc1
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e3c83
push ecx
push ebx
call fcn.1006fca3
add esp, 8
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x100e3be6
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100e3be6
mov dword [ebx], 0xffffffff
push 4
push ebx
call fcn.1006fca3
add esp, 8
cmp esi, 8
jb 0x100e3c21
lea esi, [esi*2 + 2]
mov eax, edi
cmp esi, 0x1000
jb 0x100e3c17
mov edi, dword [edi - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e3c88
push esi
push edi
call fcn.1006fca3
add esp, 8
mov edx, dword [ebp + 0x24]
pop edi
pop esi
pop ebx
cmp edx, 8
jb 0x100e3c5a
mov ecx, dword [ebp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e3c50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e3c8d
push edx
push ecx
call fcn.1006fca3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword fs:[0], ecx
lea esp, [ebp + 0x58]
pop ebp
ret
call fcn.1007d9e8
call fcn.1007d9e8
call fcn.1007d9e8
call fcn.1007d9e8
call fcn.1007d9e8
call fcn.1007d9e8
call fcn.1007d9e8
int3