Function at 0x46bca4
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x46bcac
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x46c0e8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, dword [edi + 0x37c]
call fcn.0046b3d4
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00409064
cmp dword [ebp - 0x14], 0
jne 0x46bd35
lea eax, [ebp - 0x1c]
push eax
mov ecx, 1
xor edx, edx
mov eax, dword [0x475d98]
call fcn.004053e8
mov eax, dword [ebp - 0x1c]
mov edx, 0x46c100
call fcn.00405318
jne 0x46bd22
push 0x40
push 0x46c104
push 0x46c10c
mov eax, edi
call fcn.0044b26c
push eax
call sub.user32.dll_MessageBoxA_1
mov eax, dword [edi + 0x37c]
mov edx, dword [eax]
call dword [edx + 0xd4]
jmp 0x46c09b
lea edx, [ebp - 0x20]
mov eax, dword [0x470340]
mov eax, dword [eax]
call fcn.004613bc
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 8]
call fcn.004099a0
mov esi, dword [ebp - 8]
test esi, esi
je 0x46bd5b
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x24]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.004053e8
mov eax, dword [ebp - 0x24]
mov edx, 0x46c124
call fcn.00405318
je 0x46bd8a
lea eax, [ebp - 8]
mov edx, 0x46c124
call fcn.004051bc
lea edx, [ebp - 0x28]
mov eax, dword [0x470340]
mov eax, dword [eax]
call fcn.004613bc
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 4]
call fcn.004099d4
mov esi, dword [ebp - 4]
test esi, esi
je 0x46bdb0
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 4]
push eax
mov ecx, esi
sub ecx, 4
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004053e8
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405208
lea eax, [ebp - 8]
mov ecx, 0x46c124
mov edx, dword [ebp - 4]
call fcn.00405208
mov eax, dword [ebp - 4]
call fcn.004096c0
test al, al
je 0x46be50
lea eax, [ebp - 0x2c]
push eax
mov ecx, 1
xor edx, edx
mov eax, dword [0x475d98]
call fcn.004053e8
mov eax, dword [ebp - 0x2c]
mov edx, 0x46c100
call fcn.00405318
jne 0x46be46
push 0x124
push 0x46c128
push 0x46c130
mov eax, edi
call fcn.0044b26c
push eax
call sub.user32.dll_MessageBoxA_1
cmp eax, 7
jne 0x46be46
mov eax, dword [0x470340]
mov eax, dword [eax]
call fcn.00460d54
jmp 0x46c09b
push ebp
mov eax, dword [ebp - 4]
call fcn.0046bb04
pop ecx
push 0
mov eax, dword [ebp - 4]
call fcn.00405380
push eax
call sub.kernel32.dll_CreateDirectoryA
lea eax, [ebp - 0xc]
call fcn.0046af78
lea edx, [ebp - 0x34]
mov eax, dword [0x470340]
mov eax, dword [eax]
call fcn.004613bc
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.004099d4
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
call fcn.0046b754
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [edi + 0x37c]
call fcn.0046b3d4
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00409064
mov eax, dword [ebp - 0x38]
push eax
push 0x46c154
lea eax, [ebp - 0x10]
push eax
push 0x46c158
mov eax, dword [0x475d98]
call fcn.00405380
push eax
mov ecx, edi
mov dl, 1
mov eax, dword [0x467d68]
call fcn.0046885c
mov esi, eax
cmp dword [ebp - 0x10], 2
jne 0x46bf85
mov eax, esi
call fcn.004040c4
mov eax, dword [ebp - 0xc]
call fcn.00405380
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x40]
mov ecx, 0x46c168
mov edx, dword [ebp - 0xc]
call fcn.00405208
mov eax, dword [ebp - 0x40]
call fcn.0040969c
test al, al
je 0x46bf35
lea eax, [ebp - 0x44]
mov ecx, 0x46c168
mov edx, dword [ebp - 0xc]
call fcn.00405208
mov eax, dword [ebp - 0x44]
call fcn.00405380
push eax
call sub.kernel32.dll_DeleteFileA
push ebp
mov eax, dword [ebp - 4]
call fcn.0046bb04
pop ecx
lea eax, [ebp - 0x48]
push eax
mov ecx, 1
xor edx, edx
mov eax, dword [0x475d98]
call fcn.004053e8
mov eax, dword [ebp - 0x48]
mov edx, 0x46c100
call fcn.00405318
jne 0x46c09b
push 0x40
push 0x46c104
push 0x46c170
mov eax, edi
call fcn.0044b26c
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x46c09b
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00468244
dec eax
sete bl
mov eax, esi
call fcn.004040c4
mov eax, dword [ebp - 0xc]
call fcn.00405380
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x4c]
mov ecx, 0x46c168
mov edx, dword [ebp - 0xc]
call fcn.00405208
mov eax, dword [ebp - 0x4c]
call fcn.0040969c
test al, al
je 0x46bfe7
lea eax, [ebp - 0x50]
mov ecx, 0x46c168
mov edx, dword [ebp - 0xc]
call fcn.00405208
mov eax, dword [ebp - 0x50]
call fcn.00405380
push eax
call sub.kernel32.dll_DeleteFileA
test bl, bl
je 0x46c057
lea eax, [ebp - 0x54]
push eax
mov ecx, 1
xor edx, edx
mov eax, dword [0x475d98]
call fcn.004053e8
mov eax, dword [ebp - 0x54]
mov edx, 0x46c100
call fcn.00405318
jne 0x46c028
push 0x40
push 0x46c104
push 0x46c17c
mov eax, edi
call fcn.0044b26c
push eax
call sub.user32.dll_MessageBoxA_1
mov eax, dword [edi + 0x378]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x46c094
mov eax, dword [0x470340]
mov eax, dword [eax]
call fcn.00460d54
push 0x5dc
call sub.kernel32.dll_Sleep_1
call fcn.0046b884
jmp 0x46c094
lea eax, [ebp - 0x58]
push eax
mov ecx, 1
xor edx, edx
mov eax, dword [0x475d98]
call fcn.004053e8
mov eax, dword [ebp - 0x58]
mov edx, 0x46c100
call fcn.00405318
jne 0x46c094
push 0x10
push 0x46c104
push 0x46c188
mov eax, edi
call fcn.0044b26c
push eax
call sub.user32.dll_MessageBoxA_1
mov eax, edi
call fcn.0045ce68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c0ef
lea eax, [ebp - 0x58]
mov edx, 7
call fcn.00404f14
lea eax, [ebp - 0x3c]
call fcn.00404ef0
lea eax, [ebp - 0x38]
mov edx, 8
call fcn.00404f14
lea eax, [ebp - 0x18]
call fcn.00404ef0
lea eax, [ebp - 0x14]
call fcn.00404ef0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404f14
ret