Function at 0x4034ce
Capabilities:
Delete directory

Disassembly:
push ebp
push ebx
mov edx, 0x12
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4034d5
mov edx, dword [esp + 0x54]
lea ecx, [esp]
call fcn.00405060
mov dword [esp + 4], 1
push dword [0x4113f4]
call fcn.0040b405
push dword [0x411750]
push dword [0x411750]
push str.BDFI
push dword [0x411750]
push dword [0x411750]
call fcn.0040b3c5
mov edx, dword [0x4102fc]
add dword [esp], edx
call fcn.00405420
lea eax, [esp + 0xc]
push eax
call fcn.0040dfe0
push dword [0x411750]
push dword [0x411750]
push 0x410021
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.004054c0
lea eax, [esp + 0x10]
push eax
call fcn.0040dfe0
mov edx, dword [esp + 0xc]
xor ecx, ecx
call fcn.0040e060
jne 0x403803
mov ebx, dword [esp + 4]
mov eax, ebx
mov ecx, 2
cdq
idiv ecx
mov ebx, edx
and ebx, ebx
jne 0x4035b3
push dword [esp + 0xc]
call fcn.004055d0
push eax
mov ebx, dword [esp + 0x14]
mov ebp, dword [0x411468]
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 0x403801
mov edx, dword [esp + 0xc]
push dword [0x411750]
call fcn.0040e090
mov ebx, dword [esp + 0x14]
mov ebp, dword [0x411468]
shl ebx, 3
add ebp, ebx
lea eax, [ebp]
push eax
call fcn.0040dfe0
push str.BDFI
push dword [esp + 0x10]
call fcn.00405720
and eax, eax
je 0x403801
mov edx, 0x41001e
lea ecx, [esp + 0x14]
call fcn.00405068
mov edx, 0x41001e
lea ecx, [esp + 0x18]
call fcn.00405068
push str.BDFI
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 0x403801
push dword [esp + 0x14]
mov edx, 0x41001e
pop ecx
call fcn.0040e060
jne 0x40365f
mov edx, dword [esp + 0x14]
push dword [0x411750]
call fcn.0040e090
lea eax, [esp + 0x1c]
push eax
call fcn.0040dfe0
push dword [0x411750]
push dword [0x411750]
push str.BDFI
mov ebx, dword [esp + 0x2c]
inc ebx
push ebx
push dword [esp + 0x1c]
call fcn.004054c0
lea eax, [esp + 0x28]
push eax
call fcn.0040dfe0
push dword [0x411750]
mov edx, dword [esp + 0xc]
push dword [0x411750]
call fcn.0040e090
mov edx, str.BDFI
call fcn.0040e090
mov edx, dword [esp + 0x20]
call fcn.0040e090
mov edx, dword [esp + 0x2c]
call fcn.0040e090
mov edx, dword [0x4102fc]
add dword [esp], edx
call fcn.0040b52a
pop dword [0x411750]
mov edx, dword [esp + 0x14]
push dword [0x411750]
call fcn.0040e090
mov edx, dword [esp + 0x28]
call fcn.0040e090
mov edx, str.BDFI
call fcn.0040e090
lea eax, [esp + 0x18]
push eax
call fcn.0040dfe0
mov edx, dword [esp + 8]
push dword [0x411750]
call fcn.0040e090
mov edx, str.BDFI
call fcn.0040e090
mov edx, dword [esp + 0x1c]
call fcn.0040e090
mov edx, dword [esp + 0x28]
call fcn.0040e090
mov edx, dword [esp]
mov dword [0x411750], edx
mov edx, dword [0x4102fc]
add dword [esp], edx
push dword [0x411480]
call fcn.0040c348
mov ebp, eax
mov ebx, dword [ebp]
cmp ebx, 1
jge 0x4037f7
mov edx, dword [esp + 8]
push dword [0x411750]
call fcn.0040e090
mov edx, str.BDFI
call fcn.0040e090
mov edx, dword [esp + 0x1c]
call fcn.0040e090
mov edx, dword [esp + 0x28]
call fcn.0040e090
mov edx, dword [esp]
mov dword [0x411750], edx
mov edx, dword [0x4102fc]
add dword [esp], edx
push dword [0x411480]
call fcn.0040c348
mov ebp, eax
mov dword [ebp], 1
push dword [0x411478]
call fcn.0040880d
mov edx, dword [esp + 8]
push dword [0x411750]
call fcn.0040e090
mov edx, str.BDFI
call fcn.0040e090
mov edx, dword [esp + 0x1c]
call fcn.0040e090
mov edx, dword [esp + 0x28]
call fcn.0040e090
mov ebp, dword [0x41147c]
lea eax, [ebp + 0xc]
push eax
call fcn.0040dfe0
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 0x403626
jmp 0x403805
jmp 0x40382b
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 0x411468
push eax
call fcn.0040ddc5
jmp 0x40353b
push dword [esp + 0x10]
pop eax
mov dword [0x411398], eax
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x2c]
jl 0x403a72
mov ebx, dword [esp + 0x2c]
mov ebp, dword [0x411468]
shl ebx, 3
add ebp, ebx
mov edx, dword [ebp]
push dword [0x411750]
call fcn.0040e090
lea eax, [esp + 0x34]
push eax
call fcn.0040dfe0
mov ebx, dword [0x411380]
cmp ebx, 1
je 0x403907
push dword [esp + 0x30]
push 1
call fcn.0040b9a0
and eax, eax
je 0x403907
push 1
call fcn.0040b6b0
push dword [0x411750]
push dword [0x411750]
push 1
push dword [esp + 0x3c]
call fcn.00405800
inc dword [0x411750]
mov edx, 0x410023
pop ecx
mov dword [0x411750], ecx
add ecx, dword [0x4102fc]
call fcn.0040e060
jne 0x403902
mov edx, dword [esp + 0x34]
push dword [0x411750]
call fcn.0040e090
mov edx, dword [esp + 0x34]
call fcn.0040e090
mov edx, 0x410187
call fcn.0040e090
lea eax, [esp + 0x38]
push eax
call fcn.0040dfe0
jmp 0x403a68
push dword [esp + 0x30]
push 1
call fcn.0040b8d0
and eax, eax
je 0x403a03
push dword [0x411750]
push dword [esp + 0x34]
push dword [0x411750]
mov edx, str.b2eincfile
call fcn.0040e090
push dword [0x411750]
push dword [0x411750]
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.00405390
pop eax
mov edx, dword [0x4102fc]
add dword [esp], edx
call fcn.004084ad
pop dword [0x411750]
mov ebx, dword [esp + 0x38]
inc ebx
mov dword [esp + 0x38], ebx
push dword [esp + 0x38]
pop eax
mov dword [0x411398], eax
mov ebx, dword [esp + 0x2c]
mov ebp, dword [0x411468]
shl ebx, 3
add ebp, ebx
push dword [ebp + 4]
pop eax
mov dword [esp + 0x3c], eax
push dword [esp + 0x3c]
mov ebx, dword [0x411454]
add ebx, dword [esp + 0x44]
push ebx
push 1
call fcn.0040bad0
push 1
call fcn.0040b6b0
mov ebx, dword [esp + 0x40]
add ebx, dword [esp + 0x3c]
mov dword [esp + 0x40], ebx
push dword [0x411470]
call fcn.0040880d
mov edx, dword [esp + 0x30]
push dword [0x411750]
call fcn.0040e090
mov ebp, dword [0x411474]
lea eax, [ebp + 8]
push eax
call fcn.0040dfe0
push dword [esp + 0x30]
call fcn.0040cb50
push eax
pop eax
mov dword [ebp + 0xc], eax
jmp 0x403a68
push dword [0x411750]
push dword [0x411750]
push 1
push dword [esp + 0x3c]
call fcn.00405800
inc dword [0x411750]
mov edx, 0x410023
pop ecx
mov dword [0x411750], ecx
add ecx, dword [0x4102fc]
call fcn.0040e060
jne 0x403a68
mov edx, dword [esp + 0x34]
push dword [0x411750]
call fcn.0040e090
mov edx, dword [esp + 0x34]
call fcn.0040e090
mov edx, 0x410187
call fcn.0040e090
lea eax, [esp + 0x38]
push eax
call fcn.0040dfe0
inc dword [esp + 0x2c]
jno 0x40383d
push dword [0x411750]
push dword [0x411750]
push dword [0x411750]
push dword [0x411750]
push dword [0x411750]
push 0x410187
push dword [esp + 0x4c]
call fcn.00405a50
mov edx, dword [0x4102fc]
add dword [esp], edx
call fcn.00405200
mov edx, dword [0x4102fc]
add dword [esp], edx
call fcn.004050d0
pop dword [0x411750]
mov ebx, eax
and ebx, ebx
jle 0x403b77
push dword [0x411750]
push 0x24
mov edx, dword [0x4113b4]
push dword [0x411750]
call fcn.0040e090
mov edx, str._r_n_r_n
call fcn.0040e090
mov edx, dword [esp + 0x40]
call fcn.0040e090
mov edx, 0x410187
call fcn.0040e090
mov edx, dword [0x411390]
call fcn.0040e090
inc dword [0x411750]
push dword [0x411450]
mov edx, dword [0x4102fc]
add dword [esp + 4], edx
call fcn.00407fb0
pop dword [0x411750]
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x44]
cmp ebx, 7
jne 0x403b77
call fcn.00403fc3
push dword [0x4113fc]
call fcn.0040b51c
push dword [0x41144c]
call sub.KERNEL32.dll_RemoveDirectoryA
push dword [0x4113f0]
call fcn.0040b51c
push dword [0x411448]
call sub.KERNEL32.dll_RemoveDirectoryA
push 0
jmp 0x4020c1
mov eax, 1
jmp 0x403b80
push dword [esp]
call fcn.0040e0f0
push dword [esp + 0x18]
call fcn.0040e0f0
push dword [esp + 0x14]
call fcn.0040e0f0
push dword [esp + 0x34]
call fcn.0040e0f0
push dword [esp + 0x24]
call fcn.0040e0f0
push dword [esp + 0x30]
call fcn.0040e0f0
push dword [esp + 0xc]
call fcn.0040e0f0
push dword [esp + 8]
call fcn.0040e0f0
add esp, 0x48
pop ebx
pop ebp
ret 4