Function at 0x4043d0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
test ebx, ebx
je 0x40485e
call fcn.00402900
mov esi, dword [0x4a8b6c]
mov dword [ebp - 4], eax
mov edi, dword [esi + 0x38c]
test edi, edi
je 0x40441f
mov ecx, edi
call dword [sym.imp.MMFS2.dll_Ordinal_286]
push edi
call fcn.00468843
mov eax, dword [0x4a8b6c]
add esp, 4
mov dword [eax + 0x38c], 0
mov esi, dword [0x4a8b6c]
mov eax, dword [esi + 0x88]
test eax, eax
je 0x404442
push eax
call fcn.00467ec7
mov dword [esi + 0x88], 0
mov esi, dword [0x4a8b6c]
add esp, 4
mov eax, dword [esi + 0x94]
test eax, eax
je 0x404465
push eax
call fcn.00467ec7
mov dword [esi + 0x94], 0
mov esi, dword [0x4a8b6c]
add esp, 4
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x404488
push eax
call fcn.00467ec7
mov dword [esi + 0xa8], 0
mov esi, dword [0x4a8b6c]
add esp, 4
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x4044ab
push eax
call fcn.00467ec7
mov dword [esi + 0xa4], 0
mov esi, dword [0x4a8b6c]
add esp, 4
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4044ce
push eax
call fcn.00467ec7
mov dword [esi + 0x80], 0
mov esi, dword [0x4a8b6c]
add esp, 4
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x4044f1
push eax
call fcn.00467ec7
mov dword [esi + 0x8c], 0
mov esi, dword [0x4a8b6c]
add esp, 4
mov eax, dword [esi + 0x90]
test eax, eax
je 0x404514
push eax
call fcn.00467ec7
mov dword [esi + 0x90], 0
mov esi, dword [0x4a8b6c]
add esp, 4
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x404537
push eax
call fcn.00467ec7
mov dword [esi + 0xcc], 0
mov esi, dword [0x4a8b6c]
add esp, 4
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x40455a
push eax
call fcn.00467ec7
mov dword [esi + 0xd0], 0
mov esi, dword [0x4a8b6c]
add esp, 4
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x40457d
push eax
call fcn.00467ec7
mov dword [esi + 0xd4], 0
mov esi, dword [0x4a8b6c]
add esp, 4
mov eax, dword [esi + 0x26c]
test eax, eax
je 0x4045a0
push eax
call fcn.00467ec7
mov dword [esi + 0x26c], 0
mov esi, dword [0x4a8b6c]
add esp, 4
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x4045bd
push eax
call fcn.00467ec7
add esp, 4
mov dword [esi + 0xc0], 0
call fcn.00432260
call fcn.00432f20
call fcn.004345c0
call fcn.004229d0
call fcn.00431940
call fcn.00445aa0
mov esi, dword [0x4a8b6c]
mov eax, dword [esi + 0x388]
test eax, eax
je 0x4045fe
push eax
call fcn.00467ec7
add esp, 4
mov dword [esi + 0x388], 0
mov eax, dword [0x4a8b44]
test eax, eax
je 0x404646
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_16]
mov ecx, 0x8000
or ax, cx
movzx eax, ax
push eax
push dword [0x4a8b44]
call dword [sym.imp.MMFS2.dll_Ordinal_17]
push dword [0x4a8b44]
call dword [sym.imp.MMFS2.dll_Ordinal_14]
mov dword [0x4a8b44], 0
mov dword [0x4a8b4c], 0
mov eax, dword [0x4a8b6c]
mov ecx, 1
mov dword [eax + 0x1d0], 0
mov eax, dword [0x4a8b6c]
mov dword [eax + 0x1d4], 0
call fcn.00404900
mov eax, dword [ebx + 0xac]
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
test eax, eax
je 0x40468b
push eax
call esi
mov dword [ebx + 0xac], 0
mov eax, dword [ebx + 0x1b8]
test eax, eax
je 0x4046a2
push eax
call esi
mov dword [ebx + 0x1b8], 0
mov esi, dword [0x4a8b6c]
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x4046cb
push eax
call fcn.00467ec7
mov dword [esi + 0xbc], 0
mov esi, dword [0x4a8b6c]
add esp, 4
mov eax, dword [esi + 0x37c]
test eax, eax
je 0x4046ee
push eax
call fcn.00467ec7
mov dword [esi + 0x37c], 0
mov esi, dword [0x4a8b6c]
add esp, 4
cmp dword [esi + 0x1a8], 0
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_419]
je 0x404711
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x404711
push eax
call edi
mov esi, dword [0x4a8b6c]
mov dword [esi + 0x9c], 0xffffffff
mov eax, dword [0x4a8b6c]
mov eax, dword [eax + 0x9c]
cmp eax, 0xffffffff
je 0x40473d
push eax
call edi
mov eax, dword [0x4a8b6c]
mov dword [eax + 0x9c], 0xffffffff
mov esi, dword [ebx + 0x174]
test esi, esi
je 0x4047bd
lea edx, [ebx + 0x168]
jle 0x4047a4
cmp esi, dword [edx + 0x10]
jge 0x4047a4
mov eax, dword [edx + 0x1c]
mov ecx, esi
add ecx, ecx
mov edi, dword [eax + ecx*8 + 8]
test edi, edi
je 0x4047a4
mov eax, dword [edi + 0x208]
test eax, eax
je 0x404795
push eax
call fcn.00468a58
push dword [edi + 0x208]
call fcn.00467ec7
add esp, 8
mov dword [edi + 0x208], 0
mov dword [edi + 0x214], 0
push edi
call fcn.00468843
add esp, 4
lea edx, [ebx + 0x168]
push esi
mov ecx, edx
call dword [sym.imp.MMFS2.dll_Ordinal_688]
mov esi, dword [ebx + 0x174]
lea edx, [ebx + 0x168]
test esi, esi
jne 0x40474d
mov ecx, ebx
call fcn.00402a50
mov eax, dword [0x4a8b6c]
mov eax, dword [eax + 0x98]
test eax, eax
je 0x4047fd
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, dword [0x4a8b6c]
mov eax, dword [esi + 0x98]
test eax, eax
je 0x4047fd
push eax
call fcn.00467ec7
add esp, 4
mov dword [esi + 0x98], 0
mov eax, dword [ebp - 4]
mov dword [0x4a8b6c], 0
cmp eax, ebx
je 0x404815
mov ecx, eax
call fcn.00402900
lea ecx, [ebx + 0x168]
call dword [sym.imp.MMFS2.dll_Ordinal_281]
mov eax, dword [ebx + 0x2d4]
test eax, eax
je 0x404834
push eax
call fcn.00467ec7
add esp, 4
lea esi, [ebx + 0x2d8]
mov edi, 0x20
nop
mov eax, dword [esi]
test eax, eax
je 0x40484f
push eax
call fcn.00467ec7
add esp, 4
add esi, 4
dec edi
jne 0x404840
push ebx
call fcn.00467ec7
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret