Function at 0x10036230
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x100e01f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp + 8]
call fcn.10002f80
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0xffffffff
je 0x10036299
mov ecx, dword [ebp - 0x290]
and ecx, 0x10
jne 0x100362c9
mov byte [ebp - 0x263], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0x2b8], edx
mov ecx, dword [ebp - 0x2b8]
call fcn.10003fd0
mov al, byte [ebp - 0x263]
jmp 0x10036558
push 0x100c6184
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
call fcn.1000a440
add esp, 0xc
mov dword [ebp - 0x2b0], eax
mov edx, dword [ebp - 0x2b0]
mov eax, dword [edx]
mov dword [ebp - 0x2a0], eax
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x2a0]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x2b4]
sub eax, 0x10
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x294]
call fcn.10003fd0
cmp dword [ebp - 0x27c], 0xffffffff
je 0x100364ca
mov dword [ebp - 0x270], 0x100c6188
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x268], ecx
mov edx, dword [ebp - 0x268]
mov ax, word [edx]
mov word [ebp - 0x27e], ax
mov ecx, dword [ebp - 0x270]
cmp ax, word [ecx]
jne 0x100363b2
cmp word [ebp - 0x27e], 0
je 0x100363a6
mov edx, dword [ebp - 0x268]
mov ax, word [edx + 2]
mov word [ebp - 0x278], ax
mov ecx, dword [ebp - 0x270]
cmp ax, word [ecx + 2]
jne 0x100363b2
add dword [ebp - 0x268], 4
add dword [ebp - 0x270], 4
cmp word [ebp - 0x278], 0
jne 0x1003634c
mov dword [ebp - 0x28c], 0
jmp 0x100363bd
sbb edx, edx
or edx, 1
mov dword [ebp - 0x28c], edx
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0
je 0x1003649f
mov dword [ebp - 0x274], 0x100c618c
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x26c], ecx
mov edx, dword [ebp - 0x26c]
mov ax, word [edx]
mov word [ebp - 0x280], ax
mov ecx, dword [ebp - 0x274]
cmp ax, word [ecx]
jne 0x10036452
cmp word [ebp - 0x280], 0
je 0x10036446
mov edx, dword [ebp - 0x26c]
mov ax, word [edx + 2]
mov word [ebp - 0x276], ax
mov ecx, dword [ebp - 0x274]
cmp ax, word [ecx + 2]
jne 0x10036452
add dword [ebp - 0x26c], 4
add dword [ebp - 0x274], 4
cmp word [ebp - 0x276], 0
jne 0x100363ec
mov dword [ebp - 0x284], 0
jmp 0x1003645d
sbb edx, edx
or edx, 1
mov dword [ebp - 0x284], edx
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0
je 0x1003649f
push 5
push ecx
mov ecx, esp
mov dword [ebp - 0x2c0], esp
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp + 8]
push eax
push ecx
call fcn.1000a440
add esp, 0xc
mov dword [ebp - 0x2c4], eax
call fcn.10032b90
add esp, 8
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10036336
mov eax, dword [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x100364f7
mov byte [ebp - 0x262], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0x29c], ecx
mov ecx, dword [ebp - 0x29c]
call fcn.10003fd0
mov al, byte [ebp - 0x262]
jmp 0x10036558
mov edx, dword [ebp + 8]
mov dword [ebp - 0x2a4], edx
mov eax, dword [ebp - 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
jne 0x1003651e
mov dword [ebp - 0x288], 1
jmp 0x10036528
mov dword [ebp - 0x288], 0
mov cl, byte [ebp - 0x288]
mov byte [ebp - 0x261], cl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0x2ac], edx
mov ecx, dword [ebp - 0x2ac]
call fcn.10003fd0
mov al, byte [ebp - 0x261]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007ab33
mov esp, ebp
pop ebp
ret