Function at 0x447fc0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4b6118]
sub esp, 0x30
push esi
mov esi, dword [0x4b611c]
push edi
test eax, eax
je 0x448011
xor edi, edi
test eax, eax
jle 0x448011
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 4]
test eax, eax
je 0x447fff
push eax
call fcn.0047aacf
add esp, 4
mov dword [esi + 4], 0
inc edi
add esi, 0xc
cmp edi, dword [0x4b6118]
jl 0x447fe0
mov esi, dword [0x4b611c]
test esi, esi
je 0x448032
push esi
call fcn.0047aacf
add esp, 4
mov dword [0x4b611c], 0
mov dword [0x4b6118], 0
mov eax, dword [0x4b6114]
test eax, eax
je 0x4480a7
xor esi, esi
cmp dword [0x4b610c], esi
jle 0x44807c
push dword [eax + esi*4]
call fcn.0047bcba
mov eax, dword [0x4b6114]
add esp, 4
mov ecx, dword [eax + esi*4]
lea edi, [eax + esi*4]
test ecx, ecx
je 0x448073
push ecx
call fcn.0047aacf
mov dword [edi], 0
add esp, 4
mov eax, dword [0x4b6114]
inc esi
cmp esi, dword [0x4b610c]
jl 0x448045
test eax, eax
je 0x448093
push eax
call fcn.0047aacf
add esp, 4
mov dword [0x4b6114], 0
mov dword [0x4b610c], 0
mov dword [0x4b6110], 0
mov eax, dword [0x4b60ac]
test eax, eax
je 0x4480d4
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_191]
push 0
push 2
push eax
call esi
cmp dword [0x4b60e0], 0
je 0x44810c
push 0
push 1
push dword [0x4b60ac]
call esi
jmp 0x4480e9
cmp dword [0x4b60e0], 0
je 0x44810c
push 0
push 1
push 0
call dword [sym.imp.MMFS2.dll_Ordinal_191]
mov ecx, dword [0x4b60e0]
push 1
call dword [sym.imp.MMFS2.dll_Ordinal_755]
mov ecx, dword [0x4b60e0]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [0x4b60e0], 0
mov ecx, dword [0x4b60dc]
test ecx, ecx
je 0x448130
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x4b60dc]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [0x4b60dc], 0
mov ecx, dword [0x4b60d8]
test ecx, ecx
je 0x448154
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x4b60d8]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [0x4b60d8], 0
mov eax, dword [0x4b60c0]
mov dword [0x4b62c4], 1
test eax, eax
je 0x44823a
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
mov dword [0x4b60c0], 0
mov dword [0x4b60b8], 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [esp + 8]
call fcn.00402810
mov ecx, dword [esp + 8]
sub ecx, dword [0x4b64c8]
mov eax, dword [esp + 0xc]
sbb eax, dword [0x4b64cc]
push 0
push 0xf4240
push eax
push ecx
call fcn.00493400
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
push 0
push 0
push 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x28]
push 0
push eax
call edi
test eax, eax
je 0x44823a
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
nop dword [eax]
lea ecx, [esp + 0x10]
call fcn.00402810
mov ecx, dword [esp + 0x10]
sub ecx, dword [0x4b64c8]
mov eax, dword [esp + 0x14]
sbb eax, dword [0x4b64cc]
push 0
push 0xf4240
push eax
push ecx
call fcn.00493400
sub eax, dword [esp + 8]
cmp eax, 0xbb8
ja 0x44823a
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x44823a
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call edi
test eax, eax
jne 0x4481e0
mov eax, dword [0x4b60b8]
test eax, eax
je 0x448254
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_14]
mov dword [0x4b60b8], 0
mov eax, dword [0x4b60ac]
test eax, eax
je 0x44826e
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_4]
mov dword [0x4b60ac], 0
mov eax, dword [0x4b60c8]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x44828a
push eax
call edi
mov dword [0x4b60c8], 0
mov eax, dword [0x4b6108]
test eax, eax
je 0x4482ba
push eax
mov dword [0x4b6100], 0
mov dword [0x4b6104], 0
call fcn.0047aacf
add esp, 4
mov dword [0x4b6108], 0
movzx eax, word [0x4b62b8]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push eax
call esi
movzx eax, word [0x4b62b4]
push eax
mov dword [0x4b62b8], 0
call esi
movzx eax, word [0x4b62b0]
push eax
call esi
movzx eax, word [0x4b62bc]
push eax
call esi
mov eax, dword [0x4b624c]
mov dword [0x4b62bc], 0
mov dword [0x4b62b0], 0
mov dword [0x4b62b4], 0
test eax, eax
je 0x44832c
push eax
call fcn.0047aacf
add esp, 4
mov dword [0x4b624c], 0
mov eax, dword [0x4b60a8]
test eax, eax
je 0x448361
cmp dword [0x4b6274], 0
je 0x44834a
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [0x4b60a8]
test eax, eax
je 0x448361
push eax
call fcn.0047aacf
add esp, 4
mov dword [0x4b60a8], 0
mov eax, dword [0x4b60fc]
test eax, eax
je 0x44837d
push eax
call fcn.0047aacf
add esp, 4
mov dword [0x4b60fc], 0
mov eax, dword [0x4b6288]
test eax, eax
je 0x448389
push eax
call edi
mov eax, dword [0x4b628c]
test eax, eax
je 0x448395
push eax
call edi
push dword [0x4b626c]
call fcn.0047aacf
add esp, 4
mov dword [0x4b626c], 0
call dword [sym.imp.MMFS2.dll_Ordinal_1037]
call dword [sym.imp.MMFS2.dll_Ordinal_984]
pop edi
pop esi
mov esp, ebp
pop ebp
ret