Function at 0x44dfa8
Capabilities:
Check if file exists
Copy file
Create thread
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1e
push 0
push 0
dec ecx
jne 0x44dfb1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__LStrAddRef_qqrpv
mov eax, dword [ebp - 0x28]
call sub.rtl160.bpl__System__IntfAddRef_qqrx45System__DelphiInterface_t17System_IInterface_
mov eax, dword [ebp + 0x10]
call sub.rtl160.bpl__System__IntfAddRef_qqrx45System__DelphiInterface_t17System_IInterface_
xor eax, eax
push ebp
push 0x44ecd0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
mov edx, dword [0x408134]
call sub.rtl160.bpl__System__DynArrayClear_qqrrpvpv
lea eax, [ebp - 0x4c]
mov edx, dword [0x408100]
call sub.rtl160.bpl__System__DynArrayClear_qqrrpvpv
lea eax, [ebp - 0x50]
mov edx, dword [0x408100]
call sub.rtl160.bpl__System__DynArrayClear_qqrrpvpv
test esi, esi
je 0x44e022
xor eax, eax
mov dword [esi], eax
cmp byte [ebp + 0x14], 0
je 0x44e0d9
cmp byte [ebp + 0xc], 0
jne 0x44e0d9
mov eax, 0xfa
call fcn.004336f0
test al, al
jne 0x44e0d9
cmp dword [ebp - 0x58], 0
je 0x44e063
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 0x58]
push eax
call sub.user32.dll_SetWindowPos
push 0x10
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov ebx, eax
mov eax, ebx
mov edx, dword [ebp - 4]
call sub.rtl160.bpl__System__LStrAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x28]
call sub.rtl160.bpl__System__IntfCopy_qqrr45System__DelphiInterface_t17System_IInterface_x45System__DelphiInterface_t17System_IInte
movzx eax, byte [ebp + 0x18]
mov byte [ebx + 8], al
lea eax, [ebx + 0xc]
mov edx, dword [ebp + 0x10]
call sub.rtl160.bpl__System__IntfCopy_qqrr45System__DelphiInterface_t17System_IInterface_x45System__DelphiInterface_t17System_IInte
lea eax, [ebp - 0x60]
push eax
push 0
push ebx
push 0x44df68
push 0
push 0
call sub.kernel32.dll_CreateThread
test eax, eax
je 0x44e0c6
mov bl, 1
test esi, esi
je 0x44e0bb
mov dword [esi], eax
jmp 0x44ebe9
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x44ebe9
mov eax, ebx
mov edx, dword [0x44f5cc]
call sub.rtl160.bpl__System__Finalize_qqrpvt1
push ebx
call sub.kernel32.dll_LocalFree_1
lea edx, [ebp - 0x18]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2a8]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2b0]
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
lea edx, [ebp - 0x64]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x148]
cmp dword [ebp - 0x64], 0
jne 0x44e181
lea edx, [ebp - 0x68]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
cmp dword [ebp - 0x68], 0
je 0x44e181
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
lea eax, [ebp - 0x20]
call fcn.00448070
dec eax
jle 0x44e162
lea eax, [ebp - 0x6c]
push eax
mov cl, 0x2c
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.0040c10c
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x20]
call sub.rtl160.bpl__System__LStrLAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
lea ecx, [ebp - 0x70]
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.004480bc
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x20]
mov edx, 0x44ecf4
call sub.rtl160.bpl__System__LStrCat3_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__t2
jmp 0x44e18f
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x148]
lea ecx, [ebp - 8]
mov edx, 0x44ed0c
mov eax, dword [ebp - 4]
call fcn.0044de48
lea ecx, [ebp - 0xc]
mov edx, 0x44ed28
mov eax, dword [ebp - 4]
call fcn.0044de48
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0x18]
mov ecx, dword [ebp - 8]
call fcn.00433ddc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
call fcn.00433ddc
lea eax, [ebp - 0x44]
call fcn.0044804c
mov byte [ebp - 0x59], 0
lea eax, [ebp - 0x2c]
call sub.rtl160.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x30]
call sub.rtl160.bpl__System__UStrClr_qqrpv
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
jne 0x44e241
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xe8]
test al, al
jne 0x44e241
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
jne 0x44e241
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf8]
test al, al
je 0x44e778
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x154]
test al, al
je 0x44e5e0
lea edx, [ebp - 0x74]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1a0]
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x2c]
call fcn.004320ac
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x44e28c
mov eax, dword [ebp - 0x2c]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x44e2c3
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
je 0x44e362
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x2c]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x78]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x44e362
push 0x7fffffff
lea edx, [ebp - 0x7c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1a0]
mov edx, dword [ebp - 0x7c]
mov ecx, 1
mov eax, 0x44ed48
call fcn.0040a620
test eax, eax
jne 0x44e362
push 0x44ed58
lea edx, [ebp - 0x88]
xor eax, eax
call fcn.00431e40
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.00431ef4
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.0043206c
push dword [ebp - 0x80]
push 0x44ed48
lea edx, [ebp - 0x8c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x1a0]
push dword [ebp - 0x8c]
lea eax, [ebp - 0x2c]
mov edx, 4
call sub.rtl160.bpl__System__UStrCatN_qqrv
push 0x44ed84
push 0x44ed9c
lea edx, [ebp - 0x2c]
mov ecx, 0x44edb4
xor eax, eax
call fcn.00434538
lea eax, [ebp - 0x34]
call fcn.00432270
cmp dword [ebp - 0x34], 0
je 0x44e5e0
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x2c]
call fcn.00431ef4
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x34]
call sub.rtl160.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x15c]
test al, al
je 0x44e3c9
lea eax, [ebp - 0x40]
call sub.rtl160.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
push eax
push 0x44edc4
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
jne 0x44e3c9
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x44e3c9
xor ebx, ebx
jmp 0x44e3cb
mov bl, 1
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x15c]
test al, al
je 0x44e46c
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x44e407
push 0
mov eax, dword [ebp - 0x34]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, dword [ebp - 0x2c]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x44e45c
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
je 0x44e46c
push 0
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x34]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x94]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 0x2c]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x98]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x44e46c
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x164]
mov byte [ebp - 0x59], al
jmp 0x44e4ae
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x44e488
mov eax, dword [ebp - 0x34]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x44e4ac
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0x34]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x9c]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_DeleteFileA
mov bl, 1
test bl, bl
je 0x44e547
lea eax, [ebp - 0x40]
call sub.rtl160.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
push eax
push 0x44edc4
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
jne 0x44e4dc
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x44e4e0
xor ebx, ebx
jmp 0x44e4e2
mov bl, 1
push 1
mov eax, dword [ebp + 0x10]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x34]
call fcn.0044d1b8
test al, al
jne 0x44e539
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x44e515
mov eax, dword [ebp - 0x34]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x44e539
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 0x34]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0xa0]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_DeleteFileA
test bl, bl
je 0x44e547
xor edx, edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x24]
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x44e566
mov eax, dword [ebp - 0x34]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x44e59b
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
je 0x44e5dc
lea eax, [ebp - 0xa4]
mov edx, dword [ebp - 0x34]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0xa4]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44e5dc
lea edx, [ebp - 0xa8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x174]
mov eax, dword [ebp - 0xa8]
push eax
push 0x44ede0
lea edx, [ebp - 0xac]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x16c]
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
jmp 0x44e5e0
mov byte [ebp - 0x59], 0
cmp dword [ebp - 0x28], 0
je 0x44e6e1
lea eax, [ebp - 0x30]
call fcn.00432270
cmp dword [ebp - 0x30], 0
je 0x44e6e1
lea eax, [ebp - 0x30]
mov edx, 0x44edf8
call sub.rtl160.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x17c]
cmp eax, 0x19000
jg 0x44e62b
je 0x44e643
sub eax, 4
je 0x44e63b
sub eax, 0xc7fc
je 0x44e63f
jmp 0x44e64f
sub eax, 0x32000
je 0x44e647
sub eax, 0x19000
je 0x44e64b
jmp 0x44e64f
mov bl, 1
jmp 0x44e651
mov bl, 2
jmp 0x44e651
mov bl, 3
jmp 0x44e651
mov bl, 4
jmp 0x44e651
mov bl, 5
jmp 0x44e651
xor ebx, ebx
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x44e66d
mov eax, dword [ebp - 0x30]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x44e691
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 0x30]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0xb0]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_DeleteFileA
mov ecx, ebx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
je 0x44e6e1
lea edx, [ebp - 0xb4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x194]
mov eax, dword [ebp - 0xb4]
push eax
push 0x44ee24
lea edx, [ebp - 0xb8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x18c]
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea edx, [ebp - 0xbc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x19c]
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x44e74e
inc ebx
xor esi, esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0xc0]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x19c]
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0x38]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x18]
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
mov edi, dword [eax]
call dword [edi + 0x1c]
inc esi
dec ebx
jne 0x44e707
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x58]
push eax
movzx eax, byte [ebp + 0x18]
push eax
movzx eax, byte [ebp + 0xc]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 0x10]
call fcn.0044817c
jmp 0x44e780
lea eax, [ebp - 0x54]
call sub.rtl160.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea edx, [ebp - 0xc4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x150]
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp dword [ebp - 0x20], 0
je 0x44e7b5
mov ecx, dword [ebp - 0x20]
mov edx, 0x44ee3c
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x28]
cmp dword [ebp - 0x18], 0
je 0x44e7cb
mov ecx, dword [ebp - 0x18]
mov edx, 0x44ee54
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x28]
cmp dword [ebp - 0x1c], 0
je 0x44e7e1
mov ecx, dword [ebp - 0x1c]
mov edx, 0x44ee6c
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x28]
cmp dword [ebp - 0x24], 0
je 0x44e7f7
mov ecx, dword [ebp - 0x24]
mov edx, 0x44ee84
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x44e8c3
lea edx, [ebp - 0xc8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x128]
cmp dword [ebp - 0xc8], 0
je 0x44e8b6
movzx eax, byte [ebp + 0x18]
xor al, 1
call fcn.00448b98
test al, al
je 0x44e8b6
push 0
push 0
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x3c]
push eax
push 0
lea edx, [ebp - 0xcc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x138]
mov eax, dword [ebp - 0xcc]
push eax
lea edx, [ebp - 0xd0]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x140]
mov eax, dword [ebp - 0xd0]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x130]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp + 0x10]
push eax
lea edx, [ebp - 0xd4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x128]
mov eax, dword [ebp - 0xd4]
xor ecx, ecx
mov edx, dword [ebp - 0x20]
call fcn.0044c9d4
test al, al
jne 0x44e8ba
xor eax, eax
jmp 0x44e8bc
mov al, 1
mov bl, al
jmp 0x44ea08
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
je 0x44e92b
cmp dword [ebp - 0x24], 0
je 0x44e91e
movzx eax, byte [ebp + 0x18]
xor al, 1
call fcn.00448b98
test al, al
je 0x44e91e
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0
push 0x19
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
xor eax, eax
call fcn.0044c9d4
test al, al
jne 0x44e922
xor eax, eax
jmp 0x44e924
mov al, 1
mov bl, al
jmp 0x44ea08
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xe8]
test al, al
je 0x44ea06
cmp dword [ebp - 0x24], 0
je 0x44e9fc
lea edx, [ebp - 0xd8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x108]
cmp dword [ebp - 0xd8], 0
je 0x44e9fc
movzx eax, byte [ebp + 0x18]
xor al, 1
call fcn.00448b98
test al, al
je 0x44e9fc
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0xdc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [ebp - 0xdc]
push eax
lea edx, [ebp - 0xe0]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x118]
mov eax, dword [ebp - 0xe0]
push eax
lea edx, [ebp - 0xe4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x120]
mov eax, dword [ebp - 0xe4]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x110]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
xor eax, eax
call fcn.0044c9d4
test al, al
jne 0x44ea00
xor eax, eax
jmp 0x44ea02
mov al, 1
mov bl, al
jmp 0x44ea08
xor ebx, ebx
cmp dword [ebp - 0x54], 0
je 0x44ea16
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
call dword [edx + 0x38]
cmp dword [ebp - 0x30], 0
je 0x44ea6f
test bl, bl
jne 0x44ea2f
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf8]
test al, al
jne 0x44ea6f
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x44ea4b
mov eax, dword [ebp - 0x30]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x44ea6f
lea eax, [ebp - 0xe8]
mov edx, dword [ebp - 0x30]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0xe8]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_DeleteFileA
test bl, bl
jne 0x44eb23
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0xf8]
test al, al
je 0x44eaa7
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x58]
push eax
movzx eax, byte [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.00448d90
mov ebx, eax
test bl, bl
jne 0x44eaef
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + pe_nt_image_headers32]
test al, al
je 0x44eaef
cmp byte [ebp + 0x18], 0
jne 0x44eaef
mov byte [ebp - 0x59], 0
cmp dword [ebp - 0x58], 0
je 0x44eadf
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 0x58]
push eax
call sub.user32.dll_SetWindowPos
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.00449268
mov bl, al
test bl, bl
jne 0x44eb23
cmp byte [ebp + 0x18], 0
jne 0x44eb23
push 0x10
push 0
lea edx, [ebp - 0xec]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x300]
mov eax, dword [ebp - 0xec]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
mov eax, dword [ebp - 0x58]
push eax
call sub.user32.dll_MessageBoxA
cmp bl, 1
jne 0x44ebe9
lea eax, [ebp - 0x40]
call sub.rtl160.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
push eax
push 0x44edc4
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
jne 0x44eb50
mov dl, 1
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp byte [ebp - 0x59], 0
je 0x44ebe9
cmp dword [ebp - 0x2c], 0
je 0x44ebe9
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x164]
test al, al
je 0x44ebe9
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x44eb9f
push 0
mov eax, dword [ebp - 0x2c]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 0x2c]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x44ebe9
push 0
lea eax, [ebp - 0xf0]
mov edx, dword [ebp - 0x2c]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0xf0]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0xf4]
mov edx, dword [ebp - 0x2c]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0xf4]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ecda
lea eax, [ebp - 0xf4]
mov edx, 0xc
call sub.rtl160.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xc4]
call sub.rtl160.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0xc0]
mov edx, dword [0x430e28]
mov ecx, 2
call sub.rtl160.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0xb8]
mov edx, 0xa
call sub.rtl160.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x90]
mov edx, 6
call sub.rtl160.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x78]
call sub.rtl160.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x74]
call sub.rtl160.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x70]
mov edx, 4
call sub.rtl160.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x54]
call sub.rtl160.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x50]
mov edx, dword [0x408100]
mov ecx, 2
call sub.rtl160.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x48]
mov edx, dword [0x408134]
call sub.rtl160.bpl__System__DynArrayClear_qqrrpvpv
lea eax, [ebp - 0x44]
call sub.rtl160.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x40]
call sub.rtl160.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x3c]
call sub.rtl160.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x38]
mov edx, 4
call sub.rtl160.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x28]
call sub.rtl160.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x24]
mov edx, 9
call sub.rtl160.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp + 0x10]
call sub.rtl160.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
ret