Function at 0x40392b
Capabilities:
Delete directory

Disassembly:
push ebp
push ebx
push edi
mov edx, 0xd
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x403933
mov edx, dword [esp + 0x48]
lea ecx, [esp]
call fcn.00404060
lea edx, [esp + 4]
push edx
push 0
push 5
push 4
push 4
call fcn.0040a98d
lea edx, [esp + 0xc]
push edx
push 0
push 5
push 4
push 4
call fcn.0040a98d
lea edx, [esp + 0x14]
push edx
push 0
push 5
push 4
push 4
call fcn.0040a98d
push dword [esp]
push dword [esp + 0x60]
push dword [esp + 0x54]
call fcn.00403000
mov dword [esp + 0x1c], eax
push dword [esp]
push dword [esp + 0x68]
push dword [esp + 0x5c]
call fcn.00403000
mov dword [esp + 0x1c], eax
push dword [esp + 0x4c]
mov ebp, dword [esp + 8]
pop eax
mov dword [ebp], eax
push dword [esp + 0x50]
pop eax
mov dword [ebp + 4], eax
push dword [esp + 0x54]
pop eax
mov dword [ebp + 8], eax
push dword [esp + 0x5c]
mov ebp, dword [esp + 0x10]
pop eax
mov dword [ebp], eax
push dword [esp + 0x60]
pop eax
mov dword [ebp + 4], eax
push dword [esp + 0x64]
pop eax
mov dword [ebp + 8], eax
cmp dword [esp + 0x58], 0
je 0x403b3e
push dword [esp + 0x58]
pop eax
call fcn.004080d0
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x58]
add ebx, 4
push ebx
pop eax
call fcn.004080d0
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x58]
add ebx, 8
push ebx
pop eax
call fcn.004080d0
mov dword [esp + 0x28], eax
push dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
pop eax
mov dword [ebp], eax
push dword [esp + 0x24]
pop eax
mov dword [ebp + 4], eax
push dword [esp + 0x28]
pop eax
mov dword [ebp + 8], eax
mov dword [esp + 0x2c], 0
mov eax, 2
cmp eax, dword [esp + 0x2c]
jl 0x403b3e
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x14]
shl ebx, 2
mov ebx, dword [ebp + ebx]
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0xc]
shl edi, 2
cmp ebx, dword [ebp + edi]
jle 0x403b34
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x14]
shl ebx, 2
mov ebx, dword [ebp + ebx]
add ebx, 0x200
push ebx
call fcn.00408070
mov dword [esp + 0x30], eax
cmp dword [esp + 0x30], 0
je 0x403b09
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x14]
shl ebx, 2
push dword [ebp + ebx]
push dword [esp + 0x34]
call fcn.004080e0
mov ebx, dword [esp + 0x2c]
shl ebx, 2
push dword [ebp + ebx]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x10]
shl ebx, 2
pop eax
mov dword [ebp + ebx], eax
push dword [esp + 0x30]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 8]
shl ebx, 2
pop eax
mov dword [ebp + ebx], eax
jmp 0x403b34
push dword [0x40e47c]
call sub.KERNEL32.dll_RemoveDirectoryA
push 0x10
push dword [0x40e42c]
push dword [0x40e480]
call fcn.004048e4
push 1
jmp 0x4020f8
inc dword [esp + 0x2c]
jno 0x403a67
mov ebp, dword [esp + 4]
push dword [ebp]
pop eax
mov dword [0x40e464], eax
mov ebp, dword [esp + 0xc]
push dword [ebp]
pop eax
mov dword [0x40e3b0], eax
push dword [ebp + 4]
pop eax
mov dword [0x40e3fc], eax
push dword [ebp + 8]
pop eax
mov dword [0x40e3b4], eax
mov ebx, dword [0x40e3fc]
and ebx, ebx
jle 0x403b85
mov ebx, dword [0x40e3b4]
and ebx, ebx
jle 0x403b85
mov eax, 1
jmp 0x403b87
xor eax, eax
and eax, eax
je 0x403ba1
mov ebp, dword [esp + 4]
push dword [ebp + 4]
pop eax
mov dword [0x40e438], eax
push dword [ebp + 8]
pop eax
mov dword [0x40e484], eax
mov eax, 1
jmp 0x403baa
push dword [esp]
call fcn.0040ad70
push eax
push dword [esp + 8]
call fcn.0040aab5
push dword [esp + 0x10]
call fcn.0040aab5
push dword [esp + 0x18]
call fcn.0040aab5
pop eax
add esp, 0x34
pop edi
pop ebx
pop ebp
ret 0x24