Function at 0x4058f8
Capabilities:
Print debug messages

Disassembly:
push 0xc9c
mov eax, 0x45c5c5
call fcn.00454457
mov ebx, ecx
and dword [ebp - 4], 0
lea edi, [ebp - 0x810]
mov esi, str.hwang
lea eax, [ebp - 0x802]
push 0x7f2
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
push edi
push eax
call fcn.00432310
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x40593e
mov eax, dword [ebx]
jmp 0x405940
mov eax, ebx
push eax
push str.DTLScriptEngine::DeleteDirectories
lea eax, [ebp - 0x804]
push 0x4656a0
push eax
call fcn.0040320e
add esp, 0x10
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
push 0x250
lea eax, [ebp - 0xca0]
mov dword [ebp - 0xca4], edi
push edi
push eax
mov dword [ebp - 0xa50], edi
call fcn.00432310
add esp, 0xc
lea eax, [ebp - 0x840]
mov dword [ebp - 0x82c], 7
mov dword [ebp - 0x844], eax
xor eax, eax
mov dword [ebp - 0x830], edi
mov word [ebp - 0x840], ax
mov byte [ebp - 4], 2
cmp dword [ebx + 0x14], 8
jb 0x4059bb
mov esi, dword [ebx]
jmp 0x4059bd
mov esi, ebx
mov edx, 0x104
lea ecx, [ebp - 0x840]
call fcn.00401d3c
push 0x4666a0
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [ebp - 0x844]
call fcn.00402a4c
mov eax, dword [ebp - 0x844]
cmp dword [eax + 0x14], 8
jb 0x4059f3
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xca4]
call fcn.0040472e
test eax, eax
je 0x405b24
lea ecx, [ebp - 0xca4]
call fcn.004046f2
test eax, eax
jne 0x405ae1
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0xca4]
call fcn.00404698
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa50], 0
je 0x405a47
mov eax, dword [ebp - 0xca0]
shr eax, 4
and eax, 1
jmp 0x405a49
mov eax, edi
test eax, eax
je 0x405a75
sub esp, 0x28
mov esi, esp
mov dword [esi + 0x24], edi
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x405a65
push esi
call fcn.0040d1df
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0x828]
call fcn.004058f8
add esp, 0x28
jmp 0x405acf
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x405a90
push edi
lea eax, [ebp - 0x828]
add ecx, 4
push eax
call fcn.004098e0
test al, al
je 0x405acf
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x828]
call fcn.00405e28
test eax, eax
jne 0x405acf
cmp dword [ebp + 0x2c], eax
je 0x405acf
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x405b09
push eax
lea eax, [ebp - 0x828]
add ecx, 4
push eax
call fcn.004098e0
push edi
push 1
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 2
call fcn.00401bd2
lea ecx, [ebp - 0xca4]
call fcn.004047e8
test eax, eax
jne 0x405a07
lea ecx, [ebp - 0xca4]
call fcn.00404816
cmp dword [ebx + 0x14], 8
jb 0x405b0e
mov ecx, dword [ebx]
jmp 0x405b10
call fcn.0042fb25
mov ecx, ebx
call fcn.00405db2
cmp dword [ebx + 0x14], 8
jb 0x405b1d
mov ebx, dword [ebx]
mov ecx, ebx
call fcn.00405e8e
push edi
push 1
lea ecx, [ebp - 0x840]
call fcn.00401bd2
lea ecx, [ebp - 0xca4]
call fcn.00404816
mov eax, dword [ebp - 0xca4]
test eax, eax
je 0x405b59
cmp eax, 0xffffffff
je 0x405b59
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov dword [ebp - 0xca4], edi
lea ecx, [ebp + 8]
call fcn.0040b547
call fcn.00454401
ret