Function at 0x4c5b1c
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4c5b24
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040751c
xor eax, eax
push ebp
push 0x4c5d40
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4c5d06
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.004045ec
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00414c78
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 8]
mov ecx, 0x4c5d5c
call fcn.00407a00
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.004045ec
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00414c78
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
mov ecx, 0x4c5d74
call fcn.00407a00
call fcn.00417984
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
mov edx, 0x4c5d8c
call fcn.00418644
lea eax, [ebp - 0xc]
mov ecx, 0x4c5db0
mov edx, dword [ebp - 0x18]
call fcn.00407a00
mov eax, dword [ebp - 8]
call fcn.004148b0
test al, al
jne 0x4c5be7
push 0
mov eax, dword [ebp - 8]
call fcn.004075c0
push eax
call sub.kernel32.dll_CreateDirectoryW
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00407a00
mov eax, dword [ebp - 0x44]
call fcn.00414868
test al, al
jne 0x4c5ce3
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00407a00
mov eax, dword [ebp - 0x48]
call fcn.004c6048
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00407a00
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 4]
call fcn.004c60e4
mov dl, 1
mov eax, dword [0x42e51c]
call fcn.0043aacc
mov esi, eax
call fcn.00417984
fsub dword [0x4c5dbc]
fstp qword [ebp - 0x30]
wait
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
mov edx, 0x4c5dcc
call fcn.00418644
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.00407588
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004c5930
mov edx, dword [ebp - 0x50]
mov eax, esi
call fcn.00439d34
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4c5cda
lea ecx, [ebp - 0x54]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
call fcn.00414868
test al, al
je 0x4c5cd4
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp - 0x5c]
call fcn.004075c0
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
dec ebx
cmp ebx, 0xffffffff
jne 0x4c5c96
mov eax, esi
call fcn.0040557c
jmp 0x4c5cfc
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00407a00
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 4]
call fcn.004c60e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c5d10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5d47
lea eax, [ebp - 0x60]
call fcn.00407524
lea eax, [ebp - 0x58]
mov edx, 0xa
call fcn.0040752c
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040752c
ret