Function at 0x436300
Capabilities:
Check for time delay via gettickcount
Check if file exists
Copy file
Delete file
Enumerate files on windows
Get file attributes
Move file

Disassembly:
sub esp, 0x9ac
mov edx, dword [esp + 0x9b0]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetFullPathNameA]
push edi
mov edi, ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x104
push edx
mov dword [esp + 0x2c], edi
call esi
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436336
sub eax, edx
mov cl, byte [esp + eax + 0x1f]
mov bl, 0x5c
cmp cl, bl
jne 0x43635d
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436350
sub eax, edx
mov byte [esp + eax + 0x1f], cl
mov edx, dword [esp + 0x9c4]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x148]
push ecx
push 0x104
push edx
call esi
lea eax, [esp + 0x144]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436383
sub eax, edx
cmp byte [esp + eax + 0x143], bl
jne 0x4363b0
lea eax, [esp + 0x144]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4363a0
sub eax, edx
mov byte [esp + eax + 0x143], cl
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.00434fb0
mov esi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x1f], al
call esi
cmp eax, 0xffffffff
je 0x4363fb
test al, 0x10
je 0x4363fb
lea edi, [esp + 0x20]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4363e3
mov eax, dword [str..]
mov cl, byte [0x456d0c]
mov dword [edi], eax
mov byte [edi + 4], cl
lea edx, [esp + 0x144]
push edx
call esi
cmp eax, 0xffffffff
je 0x43642e
test al, 0x10
je 0x43642e
lea edi, [esp + 0x144]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x436416
mov eax, dword [str..]
mov cl, byte [0x456d0c]
mov dword [edi], eax
mov byte [edi + 4], cl
lea edx, [esp + 0x8b4]
push edx
lea eax, [esp + 0x7b0]
push eax
lea ecx, [esp + 0x5a4]
push ecx
lea edx, [esp + 0x6b0]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00445744
add esp, 0x14
lea ecx, [esp + 0x354]
push ecx
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
mov byte [esp + 0x13], 1
mov dword [esp + 0x14], 0
je 0x43669d
mov ebx, dword [sym.imp.KERNEL32.DLL_FindNextFileA]
lea esp, [esp]
cmp byte [esp + 0x13], 1
jne 0x43669d
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
sub eax, dword [0x45ef34]
cmp eax, 5
jbe 0x4364db
push 0
push 0
push 0
push 0
lea eax, [esp + 0x138]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4364d4
push 0
push 0xffffffffffffffff
call fcn.00401650
add esp, 8
call esi
mov dword [0x45ef34], eax
test byte [esp + 0x354], 0x10
jne 0x4365e6
lea ecx, [esp + 0x494]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x148]
push edx
lea eax, [esp + 0x388]
push eax
call fcn.00434d20
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x6a4]
mov byte [esp + eax + 0x24c], cl
inc eax
test cl, cl
jne 0x436510
lea eax, [esp + 0x59c]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436530
lea edi, [esp + 0x24c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x436541
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x380]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436562
lea edi, [esp + 0x24c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x436575
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x494]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00432500
test al, al
je 0x436602
mov al, byte [esp + 0x9c8]
test al, al
jne 0x4365d0
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x354]
push edx
inc edi
push ebp
mov dword [esp + 0x1c], edi
call ebx
test eax, eax
jne 0x436490
mov byte [esp + 0x13], al
jmp 0x436490
lea eax, [esp + 0x494]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test eax, eax
jne 0x436602
inc dword [esp + 0x14]
lea ecx, [esp + 0x354]
push ecx
push ebp
call ebx
test eax, eax
jne 0x436490
mov byte [esp + 0x13], al
jmp 0x436490
cmp byte [esp + 0x9cc], 1
jne 0x436658
mov al, byte [esp + 0x1b]
test al, al
jne 0x43662c
lea edx, [esp + 0x494]
push edx
lea eax, [esp + 0x250]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
jmp 0x436670
push 0
lea ecx, [esp + 0x498]
push ecx
lea edx, [esp + 0x254]
push edx
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
test eax, eax
je 0x436678
lea eax, [esp + 0x24c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
jmp 0x436670
push 0
lea ecx, [esp + 0x498]
push ecx
lea edx, [esp + 0x254]
push edx
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
test eax, eax
jne 0x4365e6
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x354]
push eax
inc edi
push ebp
mov dword [esp + 0x1c], edi
call ebx
test eax, eax
jne 0x436490
mov byte [esp + 0x13], al
jmp 0x436490
push ebp
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9ac
ret 0x10