Function at 0x40349b
Capabilities:
Delete directory

Disassembly:
push ebp
push ebx
mov edx, 0x12
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4034a2
mov edx, dword [esp + 0x54]
lea ecx, [esp]
call fcn.00405060
mov dword [esp + 4], 1
push dword [0x41345c]
call fcn.0040c845
push dword [0x4139d0]
push dword [0x4139d0]
push 0x41202a
push dword [0x4139d0]
push dword [0x4139d0]
call fcn.0040c805
mov edx, dword [0x412250]
add dword [esp], edx
call fcn.00405530
lea eax, [esp + 0xc]
push eax
call fcn.0040f2c0
push dword [0x4139d0]
push dword [0x4139d0]
push 0x412021
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.004051b0
lea eax, [esp + 0x10]
push eax
call fcn.0040f2c0
mov edx, dword [esp + 0xc]
xor ecx, ecx
call fcn.0040f340
jne 0x4037d0
mov ebx, dword [esp + 4]
mov eax, ebx
mov ecx, 2
cdq
idiv ecx
mov ebx, edx
and ebx, ebx
jne 0x403580
push dword [esp + 0xc]
call fcn.004055d0
push eax
mov ebx, dword [esp + 0x14]
mov ebp, dword [0x4134dc]
shl ebx, 3
add ebp, ebx
pop eax
mov dword [ebp + 4], eax
mov ebx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x4037ce
mov edx, dword [esp + 0xc]
push dword [0x4139d0]
call fcn.0040f370
mov ebx, dword [esp + 0x14]
mov ebp, dword [0x4134dc]
shl ebx, 3
add ebp, ebx
lea eax, [ebp]
push eax
call fcn.0040f2c0
push 0x41202a
push dword [esp + 0x10]
call fcn.00405720
and eax, eax
je 0x4037ce
mov edx, 0x41201e
lea ecx, [esp + 0x14]
call fcn.00405068
mov edx, 0x41201e
lea ecx, [esp + 0x18]
call fcn.00405068
push 0x41202a
push dword [esp + 0x10]
call fcn.00405780
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov ebx, dword [esp + 0x1c]
dec ebx
cmp ebx, dword [esp + 0x20]
jl 0x4037ce
push dword [esp + 0x14]
mov edx, 0x41201e
pop ecx
call fcn.0040f340
jne 0x40362c
mov edx, dword [esp + 0x14]
push dword [0x4139d0]
call fcn.0040f370
lea eax, [esp + 0x1c]
push eax
call fcn.0040f2c0
push dword [0x4139d0]
push dword [0x4139d0]
push 0x41202a
mov ebx, dword [esp + 0x2c]
inc ebx
push ebx
push dword [esp + 0x1c]
call fcn.004051b0
lea eax, [esp + 0x28]
push eax
call fcn.0040f2c0
push dword [0x4139d0]
mov edx, dword [esp + 0xc]
push dword [0x4139d0]
call fcn.0040f370
mov edx, 0x41202a
call fcn.0040f370
mov edx, dword [esp + 0x20]
call fcn.0040f370
mov edx, dword [esp + 0x2c]
call fcn.0040f370
mov edx, dword [0x412250]
add dword [esp], edx
call fcn.0040ca34
pop dword [0x4139d0]
mov edx, dword [esp + 0x14]
push dword [0x4139d0]
call fcn.0040f370
mov edx, dword [esp + 0x28]
call fcn.0040f370
mov edx, 0x41202a
call fcn.0040f370
lea eax, [esp + 0x18]
push eax
call fcn.0040f2c0
mov edx, dword [esp + 8]
push dword [0x4139d0]
call fcn.0040f370
mov edx, 0x41202a
call fcn.0040f370
mov edx, dword [esp + 0x1c]
call fcn.0040f370
mov edx, dword [esp + 0x28]
call fcn.0040f370
mov edx, dword [esp]
mov dword [0x4139d0], edx
mov edx, dword [0x412250]
add dword [esp], edx
push dword [0x4134f4]
call fcn.0040d628
mov ebp, eax
mov ebx, dword [ebp]
cmp ebx, 1
jge 0x4037c4
mov edx, dword [esp + 8]
push dword [0x4139d0]
call fcn.0040f370
mov edx, 0x41202a
call fcn.0040f370
mov edx, dword [esp + 0x1c]
call fcn.0040f370
mov edx, dword [esp + 0x28]
call fcn.0040f370
mov edx, dword [esp]
mov dword [0x4139d0], edx
mov edx, dword [0x412250]
add dword [esp], edx
push dword [0x4134f4]
call fcn.0040d628
mov ebp, eax
mov dword [ebp], 1
push dword [0x4134ec]
call fcn.00409bdd
mov edx, dword [esp + 8]
push dword [0x4139d0]
call fcn.0040f370
mov edx, 0x41202a
call fcn.0040f370
mov edx, dword [esp + 0x1c]
call fcn.0040f370
mov edx, dword [esp + 0x28]
call fcn.0040f370
mov ebp, dword [0x4134f0]
lea eax, [ebp + 0xc]
push eax
call fcn.0040f2c0
push dword [esp + 0x28]
pop eax
mov dword [ebp + 8], eax
mov ebx, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x28], ebx
inc dword [esp + 0x20]
jno 0x4035f3
jmp 0x4037d2
jmp 0x4037f8
mov ebx, dword [esp + 4]
inc ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp + 4]
add ebx, 0x400
mov eax, ebx
inc eax
push 0x4134dc
push eax
call fcn.0040f0a5
jmp 0x403508
push dword [esp + 0x10]
pop eax
mov dword [0x4133e8], eax
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x2c]
jl 0x403a40
mov ebx, dword [esp + 0x2c]
mov ebp, dword [0x4134dc]
shl ebx, 3
add ebp, ebx
mov edx, dword [ebp]
push dword [0x4139d0]
call fcn.0040f370
lea eax, [esp + 0x34]
push eax
call fcn.0040f2c0
mov ebx, dword [0x4133cc]
cmp ebx, 1
je 0x4038d4
push dword [esp + 0x30]
push 1
call fcn.0040cde0
and eax, eax
je 0x4038d4
push 1
call fcn.0040caf0
push dword [0x4139d0]
push dword [0x4139d0]
push 1
push dword [esp + 0x3c]
call fcn.00405800
inc dword [0x4139d0]
mov edx, 0x412023
pop ecx
mov dword [0x4139d0], ecx
add ecx, dword [0x412250]
call fcn.0040f340
jne 0x4038cf
mov edx, dword [esp + 0x34]
push dword [0x4139d0]
call fcn.0040f370
mov edx, dword [esp + 0x34]
call fcn.0040f370
mov edx, 0x412049
call fcn.0040f370
lea eax, [esp + 0x38]
push eax
call fcn.0040f2c0
jmp 0x403a36
push dword [esp + 0x30]
push 1
call fcn.0040cd10
and eax, eax
je 0x4039d1
push dword [0x4139d0]
push dword [esp + 0x34]
mov edx, dword [0x413450]
push dword [0x4139d0]
call fcn.0040f370
push dword [0x4139d0]
push dword [0x4139d0]
mov eax, dword [esp + 0x4c]
cdq
push edx
push eax
add dword [esp], 1
adc dword [esp + 4], 0
pop eax
pop edx
push edx
push eax
call fcn.004054a0
pop eax
mov edx, dword [0x412250]
add dword [esp], edx
call fcn.0040850d
pop dword [0x4139d0]
mov ebx, dword [esp + 0x38]
inc ebx
mov dword [esp + 0x38], ebx
push dword [esp + 0x38]
pop eax
mov dword [0x4133e8], eax
mov ebx, dword [esp + 0x2c]
mov ebp, dword [0x4134dc]
shl ebx, 3
add ebp, ebx
push dword [ebp + 4]
pop eax
mov dword [esp + 0x3c], eax
push dword [esp + 0x3c]
mov ebx, dword [0x4134c8]
add ebx, dword [esp + 0x44]
push ebx
push 1
call fcn.0040ce90
push 1
call fcn.0040caf0
mov ebx, dword [esp + 0x40]
add ebx, dword [esp + 0x3c]
mov dword [esp + 0x40], ebx
push dword [0x4134e4]
call fcn.00409bdd
mov edx, dword [esp + 0x30]
push dword [0x4139d0]
call fcn.0040f370
mov ebp, dword [0x4134e8]
lea eax, [ebp + 8]
push eax
call fcn.0040f2c0
push dword [esp + 0x30]
call fcn.0040de30
push eax
pop eax
mov dword [ebp + 0xc], eax
jmp 0x403a36
push dword [0x4139d0]
push dword [0x4139d0]
push 1
push dword [esp + 0x3c]
call fcn.00405800
inc dword [0x4139d0]
mov edx, 0x412023
pop ecx
mov dword [0x4139d0], ecx
add ecx, dword [0x412250]
call fcn.0040f340
jne 0x403a36
mov edx, dword [esp + 0x34]
push dword [0x4139d0]
call fcn.0040f370
mov edx, dword [esp + 0x34]
call fcn.0040f370
mov edx, 0x412049
call fcn.0040f370
lea eax, [esp + 0x38]
push eax
call fcn.0040f2c0
inc dword [esp + 0x2c]
jno 0x40380a
push dword [0x4139d0]
push dword [0x4139d0]
push dword [0x4139d0]
push dword [0x4139d0]
push dword [0x4139d0]
push 0x412049
push dword [esp + 0x4c]
call fcn.00405a50
mov edx, dword [0x412250]
add dword [esp], edx
call fcn.00405190
mov edx, dword [0x412250]
add dword [esp], edx
call fcn.004052c0
pop dword [0x4139d0]
mov ebx, eax
and ebx, ebx
jle 0x403b2f
push dword [0x4139d0]
push 0x24
mov edx, dword [0x413408]
push dword [0x4139d0]
call fcn.0040f370
mov edx, str._r_n_r_n
call fcn.0040f370
mov edx, dword [esp + 0x40]
call fcn.0040f370
mov edx, 0x412049
call fcn.0040f370
mov edx, dword [0x4133dc]
call fcn.0040f370
inc dword [0x4139d0]
push dword [0x4134c4]
mov edx, dword [0x412250]
add dword [esp + 4], edx
call fcn.00408010
pop dword [0x4139d0]
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x44]
cmp ebx, 7
jne 0x403b2f
call fcn.00404063
push dword [0x413464]
call fcn.0040c8fb
push dword [0x4134c0]
call sub.KERNEL32.dll_RemoveDirectoryA
push 0
jmp 0x4022f2
mov eax, 1
jmp 0x403b38
push dword [esp]
call fcn.0040f3d0
push dword [esp + 0x18]
call fcn.0040f3d0
push dword [esp + 0x14]
call fcn.0040f3d0
push dword [esp + 0x34]
call fcn.0040f3d0
push dword [esp + 0x24]
call fcn.0040f3d0
push dword [esp + 0x30]
call fcn.0040f3d0
push dword [esp + 0xc]
call fcn.0040f3d0
push dword [esp + 8]
call fcn.0040f3d0
add esp, 0x48
pop ebx
pop ebp
ret 4