Function at 0x44c960
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4f1688]
sub esp, 0x30
push esi
mov esi, dword [0x4f168c]
push edi
test eax, eax
je 0x44c9b1
xor edi, edi
test eax, eax
jle 0x44c9b1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 4]
test eax, eax
je 0x44c99f
push eax
call fcn.0048ff50
add esp, 4
mov dword [esi + 4], 0
inc edi
add esi, 0xc
cmp edi, dword [0x4f1688]
jl 0x44c980
mov esi, dword [0x4f168c]
test esi, esi
je 0x44c9d2
push esi
call fcn.0048ff50
add esp, 4
mov dword [0x4f168c], 0
mov dword [0x4f1688], 0
mov eax, dword [0x4f1684]
test eax, eax
je 0x44ca47
xor esi, esi
cmp dword [0x4f167c], esi
jle 0x44ca1c
push dword [eax + esi*4]
call fcn.00491849
mov eax, dword [0x4f1684]
add esp, 4
mov ecx, dword [eax + esi*4]
lea edi, [eax + esi*4]
test ecx, ecx
je 0x44ca13
push ecx
call fcn.0048ff50
mov dword [edi], 0
add esp, 4
mov eax, dword [0x4f1684]
inc esi
cmp esi, dword [0x4f167c]
jl 0x44c9e5
test eax, eax
je 0x44ca33
push eax
call fcn.0048ff50
add esp, 4
mov dword [0x4f1684], 0
mov dword [0x4f167c], 0
mov dword [0x4f1680], 0
mov eax, dword [0x4f17b8]
test eax, eax
je 0x44ca74
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_191]
push 0
push 2
push eax
call esi
cmp dword [0x4f1650], 0
je 0x44caac
push 0
push 1
push dword [0x4f17b8]
call esi
jmp 0x44ca89
cmp dword [0x4f1650], 0
je 0x44caac
push 0
push 1
push 0
call dword [sym.imp.MMFS2.dll_Ordinal_191]
mov ecx, dword [0x4f1650]
push 1
call dword [sym.imp.MMFS2.dll_Ordinal_755]
mov ecx, dword [0x4f1650]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [0x4f1650], 0
mov ecx, dword [0x4f164c]
test ecx, ecx
je 0x44cad0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x4f164c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [0x4f164c], 0
mov ecx, dword [0x4f1648]
test ecx, ecx
je 0x44caf4
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x4f1648]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [0x4f1648], 0
mov eax, dword [0x4f1630]
mov dword [0x4f1834], 1
test eax, eax
je 0x44cbda
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
mov dword [0x4f1630], 0
mov dword [0x4f1628], 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [esp + 8]
call fcn.00402d70
mov ecx, dword [esp + 8]
sub ecx, dword [0x4f1918]
mov eax, dword [esp + 0xc]
sbb eax, dword [0x4f191c]
push 0
push 0xf4240
push eax
push ecx
call fcn.004cb910
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 0x44cbda
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
nop dword [eax]
lea ecx, [esp + 0x10]
call fcn.00402d70
mov ecx, dword [esp + 0x10]
sub ecx, dword [0x4f1918]
mov eax, dword [esp + 0x14]
sbb eax, dword [0x4f191c]
push 0
push 0xf4240
push eax
push ecx
call fcn.004cb910
sub eax, dword [esp + 8]
cmp eax, 0xbb8
ja 0x44cbda
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x44cbda
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call edi
test eax, eax
jne 0x44cb80
mov eax, dword [0x4f1628]
test eax, eax
je 0x44cbf4
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_14]
mov dword [0x4f1628], 0
mov eax, dword [0x4f17b8]
test eax, eax
je 0x44cc0e
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_4]
mov dword [0x4f17b8], 0
mov eax, dword [0x4f1638]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x44cc2a
push eax
call edi
mov dword [0x4f1638], 0
mov eax, dword [0x4f1678]
test eax, eax
je 0x44cc5a
push eax
mov dword [0x4f1670], 0
mov dword [0x4f1674], 0
call fcn.0048ff50
add esp, 4
mov dword [0x4f1678], 0
movzx eax, word [0x4f1828]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push eax
call esi
movzx eax, word [0x4f1824]
push eax
mov dword [0x4f1828], 0
call esi
movzx eax, word [0x4f1820]
push eax
call esi
movzx eax, word [0x4f182c]
push eax
call esi
mov eax, dword [0x4f17c0]
mov dword [0x4f182c], 0
mov dword [0x4f1820], 0
mov dword [0x4f1824], 0
test eax, eax
je 0x44cccc
push eax
call fcn.0048ff50
add esp, 4
mov dword [0x4f17c0], 0
mov eax, dword [0x4f161c]
test eax, eax
je 0x44cd01
cmp dword [0x4f17e4], 0
je 0x44ccea
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [0x4f161c]
test eax, eax
je 0x44cd01
push eax
call fcn.0048ff50
add esp, 4
mov dword [0x4f161c], 0
mov eax, dword [0x4f166c]
test eax, eax
je 0x44cd1d
push eax
call fcn.0048ff50
add esp, 4
mov dword [0x4f166c], 0
mov eax, dword [0x4f17f8]
test eax, eax
je 0x44cd29
push eax
call edi
mov eax, dword [0x4f17fc]
test eax, eax
je 0x44cd35
push eax
call edi
push dword [0x4f17e0]
call fcn.0048ff50
add esp, 4
mov dword [0x4f17e0], 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