Function at 0x44a970
Capabilities:
Delete directory
Delete file
Print debug messages
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44cc32
mov eax, dword fs:[0]
push eax
sub esp, 0xc80
mov eax, dword [0x46b908]
xor eax, esp
mov dword [esp + 0xc7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46b908]
xor eax, esp
push eax
lea eax, [esp + 0xc94]
mov dword fs:[0], eax
mov ebx, ecx
xor ebp, ebp
mov dword [esp + 0xc9c], ebp
mov esi, str.hwang
lea edi, [esp + 0x490]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x7f2
lea eax, [esp + 0x4a2]
push ebp
push eax
movsw word es:[edi], word [esi]
call fcn.0041fa30
push dword [ebx]
lea eax, [esp + 0x4ac]
push str.DTLScriptEngine::DeleteDirectories
push str._s__s
push eax
call fcn.0041f56a
add esp, 0x1c
lea eax, [esp + 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x5c
pop eax
mov word [esp + 0x484], ax
mov dword [esp + 0x488], ebp
mov dword [esp + 0x48c], ebp
push section..data
lea ecx, [esp + 0x18]
mov byte [esp + 0xca0], 1
call fcn.00401089
mov byte [esp + 0xc9c], 2
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov edi, eax
lea ecx, [esp + 0x14]
test edi, edi
je 0x44aa72
mov esi, dword [ebx]
push 0x104
call fcn.004013d7
push 0x462980
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ecx
lea ecx, [esp + 0x18]
call fcn.00407a75
jmp 0x44aa78
push ebx
call fcn.00402446
mov esi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x30]
call fcn.00407c62
test eax, eax
je 0x44ac31
mov ecx, dword [esp + 0x48c]
test ecx, ecx
mov edx, dword [esp + 0x2c]
je 0x44aad9
mov eax, edx
shr eax, 4
and eax, 1
je 0x44aadb
push 0x2e
pop ebp
cmp word [esp + 0x58], bp
push 0
pop ebp
jne 0x44aadb
cmp word [esp + 0x5a], bp
je 0x44abe4
push 0x2e
pop ebp
cmp word [esp + 0x5a], bp
push 0
pop ebp
jne 0x44aadb
cmp word [esp + 0x5c], bp
je 0x44abe4
jmp 0x44aadb
mov eax, ebp
test eax, eax
je 0x44ab2c
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax + 0x10], ebp
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xcb8], 3
call fcn.00407b9f
mov byte [esp + 0xcb4], 4
mov ecx, eax
mov byte [esp + 0xcb4], 5
call fcn.0044a970
mov byte [esp + 0xcb4], 2
mov ecx, dword [esp + 0x3c]
add esp, 0x18
jmp 0x44abd5
test ecx, ecx
je 0x44ab35
and edx, 1
jmp 0x44ab37
mov edx, ebp
test edx, edx
je 0x44ab62
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
call fcn.00407b9f
push 0x80
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esp + 0x28]
lea ecx, [ecx - 0x10]
call fcn.004012c6
lea ecx, [esp + 0xca4]
call fcn.0040584e
test al, al
je 0x44abbb
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.00407b9f
mov byte [esp + 0xc9c], 6
mov ecx, dword [esp + 0xcb4]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x44ac92
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
call dword [eax + 8]
mov byte [esp + 0xc9c], 2
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.004012c6
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
call fcn.00407b9f
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.004012c6
mov ecx, dword [esp + 0x48c]
cmp dword [esp + 0x488], 0
je 0x44ac15
test ecx, ecx
je 0x44ac15
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x48c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, eax
mov dword [esp + 0x48c], ecx
test ecx, ecx
jne 0x44aa97
lea ecx, [esp + 0x2c]
call fcn.00407d21
test edi, edi
je 0x44ac31
mov ecx, dword [ebx]
call fcn.0044a724
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esi - 0x10]
call fcn.004012c6
lea ecx, [esp + 0x2c]
call fcn.00407d21
or dword [esp + 0xc9c], 0xffffffff
mov ecx, dword [esp + 0xcb4]
test ecx, ecx
je 0x44ac6a
mov edx, dword [ecx]
lea eax, [esp + 0xca4]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0xc94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc7c]
xor ecx, esp
call fcn.0041f3aa
add esp, 0xc8c
ret
call fcn.0041eb9b
int3