Function at 0x10033630
Capabilities:
Check if file exists
Enumerate files on windows
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd2c
mov eax, dword [0x1008a418]
xor eax, esp
mov dword [esp + 0xd28], eax
or dword [esp + 8], 0xffffffff
lea eax, [esp + 0x504]
push ebx
push esi
push edi
mov esi, 0x208
xor ebx, ebx
push esi
push ebx
push eax
call sub.msvcrt.dll_memset
push esi
lea eax, [esp + 0xb38]
push ebx
push eax
call sub.msvcrt.dll_memset
push esi
lea eax, [esp + 0x93c]
push ebx
push eax
call sub.msvcrt.dll_memset
push esi
lea eax, [esp + 0x740]
push ebx
push eax
call sub.msvcrt.dll_memset
push esi
lea eax, [esp + 0x33c]
push ebx
push eax
call sub.msvcrt.dll_memset
push 0x250
lea eax, [esp + 0xf8]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x48
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], ebx
call fcn.10063b95
push ecx
lea ecx, [esp + 0x514]
call fcn.100422d0
mov esi, eax
cmp esi, 1
jne 0x100336e8
mov esi, ebx
jmp 0x1003389e
test esi, esi
js 0x1003389e
lea ecx, [esp + 0xb28]
call fcn.10029091
mov esi, eax
test esi, esi
js 0x1003389e
push 0x10005b74
lea eax, [esp + 0x514]
push eax
push 0x10005b68
lea eax, [esp + 0x92c]
push 0x104
push eax
call fcn.10010229
mov esi, eax
add esp, 0x14
test esi, esi
js 0x1003389e
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x924]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x10033766
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x100336e1
jmp 0x10033893
push ebx
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call sym.WAB32.dll_WABOpen
mov esi, eax
test esi, esi
js 0x1003389e
lea eax, [esp + 0x510]
mov edx, 0x104
push eax
lea ecx, [esp + 0x71c]
call fcn.1000b82d
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x71c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0xb28]
mov edx, 0x104
push eax
lea ecx, [esp + 0x30c]
call fcn.10031469
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x30c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ebx, dword [esp + 0xb8]
lea eax, [esp + 0xb8]
push eax
push dword [esp + 0x18]
shr ebx, 4
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
mov dword [esp + 0x18], esi
test bl, 1
jne 0x10033880
push 2
lea eax, [esp + 0x30c]
push eax
lea eax, [esp + 0x720]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10033829
call fcn.1000df00
jmp 0x10033880
xor eax, eax
lea edi, [esp + 0x1c]
stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov edi, esp
mov dword [esp + 0x20], eax
lea eax, [esp + 0x308]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], 0x14
mov dword [esp + 0x28], SysReAllocStringLen
push ecx
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0x20]
call dword [0x1008c6d4]
call dword [esi + 0x20]
cmp edi, esp
je 0x1003387c
mov ecx, 4
int 0x29
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x10033781
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1003389c
call fcn.1000df00
mov esi, eax
jmp 0x1003389e
xor esi, esi
lea ecx, [esp + 0xc]
call int.1000b34b
lea ecx, [esp + 0x10]
call int.1000b34b
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.10063c3a
mov ecx, dword [esp + 0xd34]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10087900
mov esp, ebp
pop ebp
ret