Function at 0x444490
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 0x4444e1
xor edi, edi
test eax, eax
jle 0x4444e1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 4]
test eax, eax
je 0x4444cf
push eax
call fcn.0047380f
add esp, 4
mov dword [esi + 4], 0
inc edi
add esi, 0xc
cmp edi, dword [0x4af0c8]
jl 0x4444b0
mov esi, dword [0x4af0cc]
test esi, esi
je 0x444502
push esi
call fcn.0047380f
add esp, 4
mov dword [0x4af0cc], 0
mov dword [0x4af0c8], 0
mov eax, dword [0x4af0c4]
test eax, eax
je 0x444577
xor esi, esi
cmp dword [0x4af0bc], esi
jle 0x44454c
push dword [eax + esi*4]
call fcn.004749fa
mov eax, dword [0x4af0c4]
add esp, 4
mov ecx, dword [eax + esi*4]
lea edi, [eax + esi*4]
test ecx, ecx
je 0x444543
push ecx
call fcn.0047380f
mov dword [edi], 0
add esp, 4
mov eax, dword [0x4af0c4]
inc esi
cmp esi, dword [0x4af0bc]
jl 0x444515
test eax, eax
je 0x444563
push eax
call fcn.0047380f
add esp, 4
mov dword [0x4af0c4], 0
mov dword [0x4af0bc], 0
mov dword [0x4af0c0], 0
mov eax, dword [0x4af05c]
test eax, eax
je 0x4445a4
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_191]
push 0
push 2
push eax
call esi
cmp dword [0x4af090], 0
je 0x4445dc
push 0
push 1
push dword [0x4af05c]
call esi
jmp 0x4445b9
cmp dword [0x4af090], 0
je 0x4445dc
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 0x444600
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 0x444624
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 0x44470a
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.0048c140
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 0x44470a
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.0048c140
sub eax, dword [esp + 8]
cmp eax, 0xbb8
ja 0x44470a
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x44470a
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call edi
test eax, eax
jne 0x4446b0
mov eax, dword [0x4af068]
test eax, eax
je 0x444724
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_14]
mov dword [0x4af068], 0
mov eax, dword [0x4af05c]
test eax, eax
je 0x44473e
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 0x44475a
push eax
call edi
mov dword [0x4af078], 0
mov eax, dword [0x4af0b8]
test eax, eax
je 0x44478a
push eax
mov dword [0x4af0b0], 0
mov dword [0x4af0b4], 0
call fcn.0047380f
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 0x4447fc
push eax
call fcn.0047380f
add esp, 4
mov dword [0x4af1fc], 0
mov eax, dword [0x4af058]
test eax, eax
je 0x444831
cmp dword [0x4af224], 0
je 0x44481a
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [0x4af058]
test eax, eax
je 0x444831
push eax
call fcn.0047380f
add esp, 4
mov dword [0x4af058], 0
mov eax, dword [0x4af0ac]
test eax, eax
je 0x44484d
push eax
call fcn.0047380f
add esp, 4
mov dword [0x4af0ac], 0
mov eax, dword [0x4af238]
test eax, eax
je 0x444859
push eax
call edi
mov eax, dword [0x4af23c]
test eax, eax
je 0x444865
push eax
call edi
push dword [0x4af21c]
call fcn.0047380f
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