Function at 0x10004100
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate gui resources
Get disk information
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac0
mov eax, dword [0x10019004]
xor eax, ebp
mov dword [ebp - 8], eax
mov al, byte [ebp + 8]
push ebx
push esi
push edi
movsx si, al
mov ebx, 1
push 0x202
lea eax, [ebp - 0x426]
mov dword [ebp - 0xabc], ebx
push 0
push eax
mov word [ebp - 0x42c], si
mov dword [ebp - 0x42a], 0x5c003a
call fcn.10006250
push 0x1fc
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10006250
push 0x208
lea eax, [ebp - 0x634]
push 0
push eax
call fcn.10006250
add esp, 0x24
mov word [ebp - 0x224], si
xor eax, eax
mov dword [ebp - 0x222], 0x5c003a
mov word [ebp - 0x21a], ax
lea ecx, [ebx + 0x39]
mov dword [ebp - 0xc], eax
push eax
push eax
push eax
push eax
push eax
push 0x104
lea eax, [ebp - 0x634]
mov dword [ebp - 0x21e], 0x5c200c
push eax
lea eax, [ebp - 0x10]
mov word [ebp - 0x10], si
push eax
mov word [ebp - 0xe], cx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push 0x208
lea eax, [ebp - 0x83c]
push 0
push eax
call fcn.10006250
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x83c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x10016c28
lea eax, [ebp - 0x83c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0xa94]
push eax
lea eax, [ebp - 0x83c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0x208
mov dword [ebp - 0xc], eax
call fcn.10008514
mov esi, eax
push 0x208
mov dword [ebp - 0xab8], esi
call fcn.10008514
add esp, 8
mov dword [ebp - 0x840], 0x1f58
cmp dword [ebp - 0xc], 0xffffffff
mov edi, eax
je 0x100044fa
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0xa68]
push eax
push 0x10016c2c
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100044d3
lea eax, [ebp - 0xa68]
push eax
push 0x10016c30
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100044d3
lea eax, [ebp - 0xa68]
push eax
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100044d3
lea eax, [ebp - 0xa68]
push eax
call ebx
mov esi, eax
lea eax, [ebp - 0x634]
push eax
call ebx
cmp eax, esi
jge 0x1000432d
lea eax, [ebp - 0x634]
push eax
call ebx
mov esi, eax
lea edx, [ebp - 0x634]
add esi, esi
lea eax, [ebp - 0xa68]
sub esi, 4
jb 0x100042e7
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x100042f0
add edx, 4
add eax, 4
sub esi, 4
jae 0x100042d6
cmp esi, 0xfffffffc
je 0x100044cd
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x1000432d
cmp esi, 0xfffffffd
je 0x100044cd
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x1000432d
cmp esi, 0xfffffffe
je 0x100044cd
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x1000432d
cmp esi, 0xffffffff
je 0x100044cd
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x100044cd
lea eax, [ebp - 0xa68]
push eax
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100044cd
mov eax, dword [ebp - 0xa94]
mov esi, dword [ebp - 0xab8]
and eax, 0x16
cmp al, 0x16
je 0x100044d3
push 0x208
push 0
push esi
call fcn.10006250
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xa68]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov dword [ebp - 0x1c], 0x65002e
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x18], 0x650078
call ebx
mov esi, eax
lea eax, [ebp - 0xa68]
push eax
call ebx
cmp esi, eax
jge 0x10004402
lea eax, [ebp - 0x1c]
push eax
call ebx
mov esi, eax
lea eax, [ebp - 0xa68]
push eax
call ebx
sub eax, esi
lea esi, [ebp - 0xa68]
lea esi, [esi + eax*2]
lea eax, [ebp - 0x1c]
push eax
call ebx
add eax, eax
push eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.1000882d
mov esi, dword [ebp - 0xab8]
add esp, 0xc
test eax, eax
jne 0x10004408
mov ecx, esi
call fcn.10001fb0
test eax, eax
jne 0x100044d3
jmp 0x10004408
mov esi, dword [ebp - 0xab8]
push 2
lea eax, [ebp - 0xa68]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x100020a0
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x208
push 0
push edi
call fcn.10006250
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100044c1
mov eax, 0x214
mov dword [ebp - 0xab4], 0
mov word [ebp - 0xaa4], ax
xorps xmm0, xmm0
lea eax, [ebp - 0xab4]
movlpd qword [ebp - 0xaa2], xmm0
push eax
mov dword [ebp - 0xa9a], 0
mov dword [ebp - 0xab0], 1
mov dword [ebp - 0xaac], esi
mov dword [ebp - 0xaa8], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
add eax, 1
je 0x100044c1
lea eax, [ebp - 0xa68]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x100044d3
mov dword [ebp - 0xabc], 0
jmp 0x100044d3
mov esi, dword [ebp - 0xab8]
lea eax, [ebp - 0xa94]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10004250
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0xabc]
push esi
call fcn.100084f7
push edi
call fcn.100084f7
mov ecx, dword [ebp - 8]
add esp, 8
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10004cce
mov esp, ebp
pop ebp
ret 4