Function at 0x444f60
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4b00f8]
sub esp, 0x30
push esi
mov esi, dword [0x4b00fc]
push edi
test eax, eax
je 0x444fb1
xor edi, edi
test eax, eax
jle 0x444fb1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 4]
test eax, eax
je 0x444f9f
push eax
call fcn.0047417f
add esp, 4
mov dword [esi + 4], 0
inc edi
add esi, 0xc
cmp edi, dword [0x4b00f8]
jl 0x444f80
mov esi, dword [0x4b00fc]
test esi, esi
je 0x444fd2
push esi
call fcn.0047417f
add esp, 4
mov dword [0x4b00fc], 0
mov dword [0x4b00f8], 0
mov eax, dword [0x4b00f4]
test eax, eax
je 0x445047
xor esi, esi
cmp dword [0x4b00ec], esi
jle 0x44501c
push dword [eax + esi*4]
call fcn.0047536a
mov eax, dword [0x4b00f4]
add esp, 4
mov ecx, dword [eax + esi*4]
lea edi, [eax + esi*4]
test ecx, ecx
je 0x445013
push ecx
call fcn.0047417f
mov dword [edi], 0
add esp, 4
mov eax, dword [0x4b00f4]
inc esi
cmp esi, dword [0x4b00ec]
jl 0x444fe5
test eax, eax
je 0x445033
push eax
call fcn.0047417f
add esp, 4
mov dword [0x4b00f4], 0
mov dword [0x4b00ec], 0
mov dword [0x4b00f0], 0
mov eax, dword [0x4b008c]
test eax, eax
je 0x445074
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_191]
push 0
push 2
push eax
call esi
cmp dword [0x4b00c0], 0
je 0x4450ac
push 0
push 1
push dword [0x4b008c]
call esi
jmp 0x445089
cmp dword [0x4b00c0], 0
je 0x4450ac
push 0
push 1
push 0
call dword [sym.imp.MMFS2.dll_Ordinal_191]
mov ecx, dword [0x4b00c0]
push 1
call dword [sym.imp.MMFS2.dll_Ordinal_755]
mov ecx, dword [0x4b00c0]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [0x4b00c0], 0
mov ecx, dword [0x4b00bc]
test ecx, ecx
je 0x4450d0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x4b00bc]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [0x4b00bc], 0
mov ecx, dword [0x4b00b8]
test ecx, ecx
je 0x4450f4
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x4b00b8]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [0x4b00b8], 0
mov eax, dword [0x4b00a0]
mov dword [0x4b02a4], 1
test eax, eax
je 0x4451da
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
mov dword [0x4b00a0], 0
mov dword [0x4b0098], 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [esp + 8]
call fcn.00402820
mov ecx, dword [esp + 8]
sub ecx, dword [0x4b0388]
mov eax, dword [esp + 0xc]
sbb eax, dword [0x4b038c]
push 0
push 0xf4240
push eax
push ecx
call fcn.0048cac0
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 0x4451da
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
nop dword [eax]
lea ecx, [esp + 0x10]
call fcn.00402820
mov ecx, dword [esp + 0x10]
sub ecx, dword [0x4b0388]
mov eax, dword [esp + 0x14]
sbb eax, dword [0x4b038c]
push 0
push 0xf4240
push eax
push ecx
call fcn.0048cac0
sub eax, dword [esp + 8]
cmp eax, 0xbb8
ja 0x4451da
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x4451da
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call edi
test eax, eax
jne 0x445180
mov eax, dword [0x4b0098]
test eax, eax
je 0x4451f4
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_14]
mov dword [0x4b0098], 0
mov eax, dword [0x4b008c]
test eax, eax
je 0x44520e
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_4]
mov dword [0x4b008c], 0
mov eax, dword [0x4b00a8]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x44522a
push eax
call edi
mov dword [0x4b00a8], 0
mov eax, dword [0x4b00e8]
test eax, eax
je 0x44525a
push eax
mov dword [0x4b00e0], 0
mov dword [0x4b00e4], 0
call fcn.0047417f
add esp, 4
mov dword [0x4b00e8], 0
movzx eax, word [0x4b0298]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push eax
call esi
movzx eax, word [0x4b0294]
push eax
mov dword [0x4b0298], 0
call esi
movzx eax, word [0x4b0290]
push eax
call esi
movzx eax, word [0x4b029c]
push eax
call esi
mov eax, dword [0x4b022c]
mov dword [0x4b029c], 0
mov dword [0x4b0290], 0
mov dword [0x4b0294], 0
test eax, eax
je 0x4452cc
push eax
call fcn.0047417f
add esp, 4
mov dword [0x4b022c], 0
mov eax, dword [0x4b0088]
test eax, eax
je 0x445301
cmp dword [0x4b0254], 0
je 0x4452ea
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [0x4b0088]
test eax, eax
je 0x445301
push eax
call fcn.0047417f
add esp, 4
mov dword [0x4b0088], 0
mov eax, dword [0x4b00dc]
test eax, eax
je 0x44531d
push eax
call fcn.0047417f
add esp, 4
mov dword [0x4b00dc], 0
mov eax, dword [0x4b0268]
test eax, eax
je 0x445329
push eax
call edi
mov eax, dword [0x4b026c]
test eax, eax
je 0x445335
push eax
call edi
push dword [0x4b024c]
call fcn.0047417f
add esp, 4
mov dword [0x4b024c], 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