Function at 0x4033c5
Capabilities:
Delete directory

Disassembly:
push ebp
push ebx
mov edx, 0xa
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4033cc
mov edx, dword [esp + 0x34]
lea ecx, [esp]
call fcn.00404060
mov dword [esp + 4], 1
push dword [0x40e44c]
call fcn.00408095
push dword [0x40e7a8]
push dword [0x40e7a8]
push 0x40d023
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00404410
lea eax, [esp + 0xc]
push eax
call fcn.0040ab90
mov edx, dword [esp + 8]
xor ecx, ecx
call fcn.0040ac10
jne 0x403492
mov ebx, dword [esp + 4]
mov eax, ebx
mov ecx, 2
cdq
idiv ecx
mov ebx, edx
and ebx, ebx
jne 0x403469
push dword [esp + 8]
call fcn.00404520
push eax
mov ebx, dword [esp + 0x10]
mov ebp, dword [0x40e4c8]
shl ebx, 3
add ebp, ebx
pop eax
mov dword [ebp + 4], eax
mov ebx, dword [esp + 0xc]
inc ebx
mov dword [esp + 0xc], ebx
jmp 0x403490
mov edx, dword [esp + 8]
push dword [0x40e7a8]
call fcn.0040ac40
mov ebx, dword [esp + 0x10]
mov ebp, dword [0x40e4c8]
shl ebx, 3
add ebp, ebx
lea eax, [ebp]
push eax
call fcn.0040ab90
jmp 0x403494
jmp 0x4034a2
mov ebx, dword [esp + 4]
inc ebx
mov dword [esp + 4], ebx
jmp 0x4033f8
push dword [esp + 0xc]
pop eax
mov dword [0x40e3fc], eax
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x10]
jl 0x4036ce
mov ebx, dword [esp + 0x10]
mov ebp, dword [0x40e4c8]
shl ebx, 3
add ebp, ebx
mov edx, dword [ebp]
push dword [0x40e7a8]
call fcn.0040ac40
lea eax, [esp + 0x18]
push eax
call fcn.0040ab90
push dword [0x40e7a8]
push dword [esp + 0x18]
push dword [0x40e7a8]
mov edx, 0x40d0b0
call fcn.0040ac40
push dword [0x40e7a8]
push dword [0x40e7a8]
mov eax, dword [esp + 0x24]
cdq
push edx
push eax
add dword [esp], 1
adc dword [esp + 4], 0
pop eax
pop edx
push edx
push eax
call fcn.00404380
pop eax
mov edx, dword [0x40d338]
add dword [esp], edx
call fcn.00404da1
pop dword [0x40e7a8]
mov ebx, dword [0x40e3e0]
cmp ebx, 1
je 0x403561
push dword [esp + 0x14]
push 1
call fcn.00408630
and eax, eax
je 0x403561
mov eax, 1
jmp 0x403563
xor eax, eax
and eax, eax
je 0x403603
push 1
call fcn.00408340
push dword [0x40e7a8]
push 0x23
mov edx, dword [0x40e3f4]
push dword [0x40e7a8]
call fcn.0040ac40
mov edx, 0x40d021
call fcn.0040ac40
mov edx, dword [esp + 0x20]
call fcn.0040ac40
mov edx, 0x40d021
call fcn.0040ac40
mov edx, dword [0x40e408]
call fcn.0040ac40
inc dword [0x40e7a8]
push dword [0x40e464]
mov edx, dword [0x40d338]
add dword [esp + 4], edx
call fcn.004048a4
pop dword [0x40e7a8]
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x18]
cmp ebx, 7
jne 0x4035ee
jmp 0x4036c4
mov ebx, dword [esp + 0x18]
cmp ebx, 2
jne 0x403603
call fcn.00403b05
xor eax, eax
jmp 0x4037c6
push dword [esp + 0x14]
push 1
call fcn.00408560
and eax, eax
je 0x403698
mov ebx, dword [esp + 0x10]
mov ebp, dword [0x40e4c8]
shl ebx, 3
add ebp, ebx
push dword [ebp + 4]
pop eax
mov dword [esp + 0x1c], eax
push dword [esp + 0x1c]
mov ebx, dword [0x40e4b8]
add ebx, dword [esp + 0x24]
push ebx
push 1
call fcn.00408760
push 1
call fcn.00408340
mov ebx, dword [esp + 0x20]
add ebx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
push dword [0x40e4d0]
call fcn.004055b0
mov edx, dword [esp + 0x14]
push dword [0x40e7a8]
call fcn.0040ac40
mov ebp, dword [0x40e4d4]
lea eax, [ebp + 8]
push eax
call fcn.0040ab90
push dword [esp + 0x14]
call fcn.004097c0
push eax
pop eax
mov dword [ebp + 0xc], eax
jmp 0x4036c4
mov edx, dword [esp + 0x24]
push dword [0x40e7a8]
call fcn.0040ac40
mov edx, dword [esp + 0x18]
call fcn.0040ac40
mov edx, 0x40d14c
call fcn.0040ac40
lea eax, [esp + 0x28]
push eax
call fcn.0040ab90
inc dword [esp + 0x10]
jno 0x4034b4
push dword [0x40e7a8]
push dword [0x40e7a8]
push dword [0x40e7a8]
push dword [0x40e7a8]
push dword [0x40e7a8]
push 0x40d14c
push dword [esp + 0x3c]
call fcn.00404850
mov edx, dword [0x40d338]
add dword [esp], edx
call fcn.004041f0
mov edx, dword [0x40d338]
add dword [esp], edx
call fcn.004040c0
pop dword [0x40e7a8]
mov ebx, eax
and ebx, ebx
jle 0x4037bd
push dword [0x40e7a8]
push 0x24
mov edx, dword [0x40e41c]
push dword [0x40e7a8]
call fcn.0040ac40
mov edx, 0x40d233
call fcn.0040ac40
mov edx, dword [esp + 0x30]
jmp section..htext
mov eax, 1
jmp 0x4037c6
push dword [esp]
call fcn.0040aca0
push dword [esp + 0x24]
call fcn.0040aca0
push dword [esp + 0x14]
call fcn.0040aca0
push dword [esp + 8]
call fcn.0040aca0
add esp, 0x28
pop ebx
pop ebp
ret 4