Function at 0x444400
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4af0c8]
sub esp, 0x30
push esi
mov esi, dword [0x4af0cc]
push edi
test eax, eax
je 0x444451
xor edi, edi
test eax, eax
jle 0x444451
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 4]
test eax, eax
je 0x44443f
push eax
call fcn.0047372f
add esp, 4
mov dword [esi + 4], 0
inc edi
add esi, 0xc
cmp edi, dword [0x4af0c8]
jl 0x444420
mov esi, dword [0x4af0cc]
test esi, esi
je 0x444472
push esi
call fcn.0047372f
add esp, 4
mov dword [0x4af0cc], 0
mov dword [0x4af0c8], 0
mov eax, dword [0x4af0c4]
test eax, eax
je 0x4444e7
xor esi, esi
cmp dword [0x4af0bc], esi
jle 0x4444bc
push dword [eax + esi*4]
call fcn.0047491a
mov eax, dword [0x4af0c4]
add esp, 4
mov ecx, dword [eax + esi*4]
lea edi, [eax + esi*4]
test ecx, ecx
je 0x4444b3
push ecx
call fcn.0047372f
mov dword [edi], 0
add esp, 4
mov eax, dword [0x4af0c4]
inc esi
cmp esi, dword [0x4af0bc]
jl 0x444485
test eax, eax
je 0x4444d3
push eax
call fcn.0047372f
add esp, 4
mov dword [0x4af0c4], 0
mov dword [0x4af0bc], 0
mov dword [0x4af0c0], 0
mov eax, dword [0x4af05c]
test eax, eax
je 0x444514
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_191]
push 0
push 2
push eax
call esi
cmp dword [0x4af090], 0
je 0x44454c
push 0
push 1
push dword [0x4af05c]
call esi
jmp 0x444529
cmp dword [0x4af090], 0
je 0x44454c
push 0
push 1
push 0
call dword [sym.imp.MMFS2.dll_Ordinal_191]
mov ecx, dword [0x4af090]
push 1
call dword [sym.imp.MMFS2.dll_Ordinal_755]
mov ecx, dword [0x4af090]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [0x4af090], 0
mov ecx, dword [0x4af08c]
test ecx, ecx
je 0x444570
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x4af08c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [0x4af08c], 0
mov ecx, dword [0x4af088]
test ecx, ecx
je 0x444594
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x4af088]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [0x4af088], 0
mov eax, dword [0x4af070]
mov dword [0x4af274], 1
test eax, eax
je 0x44467a
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
mov dword [0x4af070], 0
mov dword [0x4af068], 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [esp + 8]
call fcn.00402810
mov ecx, dword [esp + 8]
sub ecx, dword [0x4af358]
mov eax, dword [esp + 0xc]
sbb eax, dword [0x4af35c]
push 0
push 0xf4240
push eax
push ecx
call fcn.0048c060
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 0x44467a
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 [0x4af358]
mov eax, dword [esp + 0x14]
sbb eax, dword [0x4af35c]
push 0
push 0xf4240
push eax
push ecx
call fcn.0048c060
sub eax, dword [esp + 8]
cmp eax, 0xbb8
ja 0x44467a
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x44467a
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call edi
test eax, eax
jne 0x444620
mov eax, dword [0x4af068]
test eax, eax
je 0x444694
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_14]
mov dword [0x4af068], 0
mov eax, dword [0x4af05c]
test eax, eax
je 0x4446ae
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_4]
mov dword [0x4af05c], 0
mov eax, dword [0x4af078]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4446ca
push eax
call edi
mov dword [0x4af078], 0
mov eax, dword [0x4af0b8]
test eax, eax
je 0x4446fa
push eax
mov dword [0x4af0b0], 0
mov dword [0x4af0b4], 0
call fcn.0047372f
add esp, 4
mov dword [0x4af0b8], 0
movzx eax, word [0x4af268]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push eax
call esi
movzx eax, word [0x4af264]
push eax
mov dword [0x4af268], 0
call esi
movzx eax, word [0x4af260]
push eax
call esi
movzx eax, word [0x4af26c]
push eax
call esi
mov eax, dword [0x4af1fc]
mov dword [0x4af26c], 0
mov dword [0x4af260], 0
mov dword [0x4af264], 0
test eax, eax
je 0x44476c
push eax
call fcn.0047372f
add esp, 4
mov dword [0x4af1fc], 0
mov eax, dword [0x4af058]
test eax, eax
je 0x4447a1
cmp dword [0x4af224], 0
je 0x44478a
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [0x4af058]
test eax, eax
je 0x4447a1
push eax
call fcn.0047372f
add esp, 4
mov dword [0x4af058], 0
mov eax, dword [0x4af0ac]
test eax, eax
je 0x4447bd
push eax
call fcn.0047372f
add esp, 4
mov dword [0x4af0ac], 0
mov eax, dword [0x4af238]
test eax, eax
je 0x4447c9
push eax
call edi
mov eax, dword [0x4af23c]
test eax, eax
je 0x4447d5
push eax
call edi
push dword [0x4af21c]
call fcn.0047372f
add esp, 4
mov dword [0x4af21c], 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