Function at 0x4033ec
Capabilities:
Delete directory

Disassembly:
push ebp
push ebx
mov edx, 0x12
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4033f3
mov edx, dword [esp + 0x54]
lea ecx, [esp]
call fcn.00404060
mov dword [esp + 4], 1
push dword [0x4114f8]
call fcn.0040a945
push dword [0x411868]
push dword [0x411868]
push str.BDFI
push dword [0x411868]
push dword [0x411868]
call fcn.0040a905
mov edx, dword [0x410354]
add dword [esp], edx
call fcn.00404420
lea eax, [esp + 0xc]
push eax
call fcn.0040d520
push dword [0x411868]
push dword [0x411868]
push 0x410023
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.004044c0
lea eax, [esp + 0x10]
push eax
call fcn.0040d520
mov edx, dword [esp + 0xc]
xor ecx, ecx
call fcn.0040d5a0
jne 0x403721
mov ebx, dword [esp + 4]
mov eax, ebx
mov ecx, 2
cdq
idiv ecx
mov ebx, edx
and ebx, ebx
jne 0x4034d1
push dword [esp + 0xc]
call fcn.004045d0
push eax
mov ebx, dword [esp + 0x14]
mov ebp, dword [0x411578]
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 0x40371f
mov edx, dword [esp + 0xc]
push dword [0x411868]
call fcn.0040d5d0
mov ebx, dword [esp + 0x14]
mov ebp, dword [0x411578]
shl ebx, 3
add ebp, ebx
lea eax, [ebp]
push eax
call fcn.0040d520
push str.BDFI
push dword [esp + 0x10]
call fcn.00404720
and eax, eax
je 0x40371f
mov edx, 0x41001e
lea ecx, [esp + 0x14]
call fcn.00404068
mov edx, 0x41001e
lea ecx, [esp + 0x18]
call fcn.00404068
push str.BDFI
push dword [esp + 0x10]
call fcn.00404780
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov ebx, dword [esp + 0x1c]
dec ebx
cmp ebx, dword [esp + 0x20]
jl 0x40371f
push dword [esp + 0x14]
mov edx, 0x41001e
pop ecx
call fcn.0040d5a0
jne 0x40357d
mov edx, dword [esp + 0x14]
push dword [0x411868]
call fcn.0040d5d0
lea eax, [esp + 0x1c]
push eax
call fcn.0040d520
push dword [0x411868]
push dword [0x411868]
push str.BDFI
mov ebx, dword [esp + 0x2c]
inc ebx
push ebx
push dword [esp + 0x1c]
call fcn.004044c0
lea eax, [esp + 0x28]
push eax
call fcn.0040d520
push dword [0x411868]
mov edx, dword [esp + 0xc]
push dword [0x411868]
call fcn.0040d5d0
mov edx, str.BDFI
call fcn.0040d5d0
mov edx, dword [esp + 0x20]
call fcn.0040d5d0
mov edx, dword [esp + 0x2c]
call fcn.0040d5d0
mov edx, dword [0x410354]
add dword [esp], edx
call fcn.0040aa6a
pop dword [0x411868]
mov edx, dword [esp + 0x14]
push dword [0x411868]
call fcn.0040d5d0
mov edx, dword [esp + 0x28]
call fcn.0040d5d0
mov edx, str.BDFI
call fcn.0040d5d0
lea eax, [esp + 0x18]
push eax
call fcn.0040d520
mov edx, dword [esp + 8]
push dword [0x411868]
call fcn.0040d5d0
mov edx, str.BDFI
call fcn.0040d5d0
mov edx, dword [esp + 0x1c]
call fcn.0040d5d0
mov edx, dword [esp + 0x28]
call fcn.0040d5d0
mov edx, dword [esp]
mov dword [0x411868], edx
mov edx, dword [0x410354]
add dword [esp], edx
push dword [0x411590]
call fcn.0040b888
mov ebp, eax
mov ebx, dword [ebp]
cmp ebx, 1
jge 0x403715
mov edx, dword [esp + 8]
push dword [0x411868]
call fcn.0040d5d0
mov edx, str.BDFI
call fcn.0040d5d0
mov edx, dword [esp + 0x1c]
call fcn.0040d5d0
mov edx, dword [esp + 0x28]
call fcn.0040d5d0
mov edx, dword [esp]
mov dword [0x411868], edx
mov edx, dword [0x410354]
add dword [esp], edx
push dword [0x411590]
call fcn.0040b888
mov ebp, eax
mov dword [ebp], 1
push dword [0x411588]
call fcn.00407d4d
mov edx, dword [esp + 8]
push dword [0x411868]
call fcn.0040d5d0
mov edx, str.BDFI
call fcn.0040d5d0
mov edx, dword [esp + 0x1c]
call fcn.0040d5d0
mov edx, dword [esp + 0x28]
call fcn.0040d5d0
mov ebp, dword [0x41158c]
lea eax, [ebp + 0xc]
push eax
call fcn.0040d520
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 0x403544
jmp 0x403723
jmp 0x403749
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 0x411578
push eax
call fcn.0040d305
jmp 0x403459
push dword [esp + 0x10]
pop eax
mov dword [0x411498], eax
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x2c]
jl 0x4039c1
mov ebx, dword [esp + 0x2c]
mov ebp, dword [0x411578]
shl ebx, 3
add ebp, ebx
mov edx, dword [ebp]
push dword [0x411868]
call fcn.0040d5d0
lea eax, [esp + 0x34]
push eax
call fcn.0040d520
mov ebx, dword [0x41147c]
cmp ebx, 1
je 0x4037b4
push dword [esp + 0x30]
push 1
call fcn.0040aee0
and eax, eax
je 0x4037b4
mov eax, 1
jmp 0x4037b6
xor eax, eax
and eax, eax
je 0x403856
push 1
call fcn.0040abf0
push dword [0x411868]
push 0x23
mov edx, dword [0x411490]
push dword [0x411868]
call fcn.0040d5d0
mov edx, 0x410021
call fcn.0040d5d0
mov edx, dword [esp + 0x3c]
call fcn.0040d5d0
mov edx, 0x410021
call fcn.0040d5d0
mov edx, dword [0x4114a4]
call fcn.0040d5d0
inc dword [0x411868]
push dword [0x411510]
mov edx, dword [0x410354]
add dword [esp + 4], edx
call fcn.00406fb0
pop dword [0x411868]
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x34]
cmp ebx, 7
jne 0x403841
jmp 0x4039b7
mov ebx, dword [esp + 0x34]
cmp ebx, 2
jne 0x403856
call fcn.00403efc
xor eax, eax
jmp 0x403ab9
push dword [esp + 0x30]
push 1
call fcn.0040ae10
and eax, eax
je 0x403952
push dword [0x411868]
push dword [esp + 0x34]
push dword [0x411868]
mov edx, str.b2eincfile
call fcn.0040d5d0
push dword [0x411868]
push dword [0x411868]
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.00404390
pop eax
mov edx, dword [0x410354]
add dword [esp], edx
call fcn.004074ad
pop dword [0x411868]
mov ebx, dword [esp + 0x38]
inc ebx
mov dword [esp + 0x38], ebx
push dword [esp + 0x38]
pop eax
mov dword [0x411498], eax
mov ebx, dword [esp + 0x2c]
mov ebp, dword [0x411578]
shl ebx, 3
add ebp, ebx
push dword [ebp + 4]
pop eax
mov dword [esp + 0x3c], eax
push dword [esp + 0x3c]
mov ebx, dword [0x411564]
add ebx, dword [esp + 0x44]
push ebx
push 1
call fcn.0040b010
push 1
call fcn.0040abf0
mov ebx, dword [esp + 0x40]
add ebx, dword [esp + 0x3c]
mov dword [esp + 0x40], ebx
push dword [0x411580]
call fcn.00407d4d
mov edx, dword [esp + 0x30]
push dword [0x411868]
call fcn.0040d5d0
mov ebp, dword [0x411584]
lea eax, [ebp + 8]
push eax
call fcn.0040d520
push dword [esp + 0x30]
call fcn.0040c090
push eax
pop eax
mov dword [ebp + 0xc], eax
jmp 0x4039b7
push dword [0x411868]
push dword [0x411868]
push 1
push dword [esp + 0x3c]
call fcn.00404800
inc dword [0x411868]
mov edx, 0x410030
pop ecx
mov dword [0x411868], ecx
add ecx, dword [0x410354]
call fcn.0040d5a0
jne 0x4039b7
mov edx, dword [esp + 0x44]
push dword [0x411868]
call fcn.0040d5d0
mov edx, dword [esp + 0x34]
call fcn.0040d5d0
mov edx, 0x410160
call fcn.0040d5d0
lea eax, [esp + 0x48]
push eax
call fcn.0040d520
inc dword [esp + 0x2c]
jno 0x40375b
push dword [0x411868]
push dword [0x411868]
push dword [0x411868]
push dword [0x411868]
push dword [0x411868]
push 0x410160
push dword [esp + 0x5c]
call fcn.00404a50
mov edx, dword [0x410354]
add dword [esp], edx
call fcn.00404200
mov edx, dword [0x410354]
add dword [esp], edx
call fcn.004040d0
pop dword [0x411868]
mov ebx, eax
and ebx, ebx
jle 0x403ab0
push dword [0x411868]
push 0x24
mov edx, dword [0x4114b8]
push dword [0x411868]
call fcn.0040d5d0
mov edx, str._r_n_r_n
call fcn.0040d5d0
mov edx, dword [esp + 0x50]
call fcn.0040d5d0
mov edx, 0x410160
call fcn.0040d5d0
mov edx, dword [0x41148c]
call fcn.0040d5d0
inc dword [0x411868]
push dword [0x411560]
mov edx, dword [0x410354]
add dword [esp + 4], edx
call fcn.00406fb0
pop dword [0x411868]
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x34]
cmp ebx, 7
jne 0x403ab0
call fcn.00403efc
push dword [0x411504]
call fcn.0040aa5c
push dword [0x41155c]
call sub.KERNEL32.dll_RemoveDirectoryA
push 0
jmp 0x4021e2
mov eax, 1
jmp 0x403ab9
push dword [esp]
call fcn.0040d630
push dword [esp + 0x18]
call fcn.0040d630
push dword [esp + 0x14]
call fcn.0040d630
push dword [esp + 0x44]
call fcn.0040d630
push dword [esp + 0x24]
call fcn.0040d630
push dword [esp + 0x30]
call fcn.0040d630
push dword [esp + 0xc]
call fcn.0040d630
push dword [esp + 8]
call fcn.0040d630
add esp, 0x48
pop ebx
pop ebp
ret 4