Function at 0x459d10
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, 0x2b
push 0
push 0
dec ecx
jne 0x459d19
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
mov esi, eax
mov ebx, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x45afa2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
mov edx, dword [0x406968]
call sub.rtl250.bpl__System__DynArrayClear_qqrrpvpv
lea eax, [ebp - 0x40]
mov edx, dword [0x406968]
call sub.rtl250.bpl__System__DynArrayClear_qqrrpvpv
lea eax, [ebp - 0x44]
mov edx, dword [0x406968]
call sub.rtl250.bpl__System__DynArrayClear_qqrrpvpv
cmp dword [ebp + 8], 0
je 0x459d77
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
test esi, esi
jne 0x459d84
mov byte [ebp - 0x55], 0
jmp 0x45ae1b
cmp byte [ebp + 0x14], 0
je 0x459e40
cmp byte [ebp + 0xc], 0
jne 0x459e40
mov eax, 0xfa
call fcn.004359c4
test al, al
jne 0x459e40
cmp dword [ebp - 0x54], 0
je 0x459dc5
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 0x54]
push eax
call sub.user32.dll_SetWindowPos
push 0x10
push 0x40
call sub.kernel32.dll_LocalAlloc
mov edi, eax
mov eax, edi
mov edx, esi
call sub.rtl250.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea eax, [edi + 4]
mov edx, dword [ebp - 0x50]
call sub.rtl250.bpl__System__IntfCopy_qqrr44System__DelphiInterface_17System_IInterface_x44System__DelphiInterface_17System_IInterf
movzx eax, byte [ebp + 0x18]
mov byte [edi + 8], al
lea eax, [edi + 0xc]
mov edx, ebx
call sub.rtl250.bpl__System__IntfCopy_qqrr44System__DelphiInterface_17System_IInterface_x44System__DelphiInterface_17System_IInterf
lea eax, [ebp - 0x64]
push eax
push 0
push edi
push 0x459cd0
push 0
push 0
call sub.kernel32.dll_CreateThread
test eax, eax
je 0x459e2d
mov byte [ebp - 0x55], 1
cmp dword [ebp + 8], 0
je 0x459e22
mov edx, dword [ebp + 8]
mov dword [edx], eax
jmp 0x45ae1b
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x45ae1b
mov eax, edi
mov edx, dword [0x459c3c]
call sub.rtl250.bpl__System__FinalizeRecord_qqrpvt1
push edi
call sub.kernel32.dll_LocalFree
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x310]
lea edx, [ebp - 0x20]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x318]
lea edx, [ebp - 0x28]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xd8]
lea edx, [ebp - 0x74]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1a0]
cmp dword [ebp - 0x74], 0
jne 0x459ef8
lea edx, [ebp - 0x78]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xd8]
cmp dword [ebp - 0x78], 0
je 0x459ef8
lea edx, [ebp - 0x24]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xd8]
lea eax, [ebp - 0x24]
call fcn.0044a294
dec eax
jle 0x459ec8
lea eax, [ebp - 0x7c]
push eax
mov edi, dword [0x603af4]
mov edi, dword [edi]
mov cl, 0x2c
mov edx, 1
mov eax, dword [ebp - 0x24]
call edi
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x24]
call sub.rtl250.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea ecx, [ebp - 0x84]
xor edx, edx
mov eax, dword [ebp - 0x24]
call fcn.0044a2f0
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x80]
call sub.rtl250.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x24]
mov edx, 0x45afc8
call sub.rtl250.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
jmp 0x459f05
lea edx, [ebp - 0x24]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1a0]
lea ecx, [ebp - 4]
mov edx, 0x45afec
mov eax, esi
call fcn.00458a54
lea ecx, [ebp - 8]
mov edx, 0x45b018
mov eax, esi
call fcn.00458a54
lea ecx, [ebp - 0xc]
mov edx, 0x45b048
mov eax, esi
call fcn.00458b8c
mov eax, dword [ebp - 8]
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
call fcn.00436468
mov eax, dword [ebp - 8]
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0x20]
mov ecx, dword [ebp - 4]
call fcn.00436468
lea eax, [ebp - 0x38]
call fcn.0044a270
mov byte [ebp - 0x56], 0
lea eax, [ebp - 0x14]
call sub.rtl250.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x18]
call sub.rtl250.bpl__System__UStrClr_qqrpv
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x150]
test al, al
jne 0x459fea
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x158]
test al, al
jne 0x459fea
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xf8]
test al, al
jne 0x459fea
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
jne 0x459fea
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xe8]
test al, al
jne 0x459fea
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
jne 0x459fea
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x190]
test al, al
je 0x45a5bc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1ac]
test al, al
je 0x45a411
lea edx, [ebp - 0x88]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1f8]
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x14]
call fcn.00433c04
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x45a039
mov eax, dword [ebp - 0x14]
call sub.rtl250.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x45a076
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
je 0x45a12d
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 0x14]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x8c]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x45a12d
push 0x7fffffff
lea edx, [ebp - 0x90]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1f8]
mov edx, dword [ebp - 0x90]
mov edi, dword [0x6038f4]
mov edi, dword [edi]
mov ecx, 1
mov eax, 0x45b070
call edi
test eax, eax
jne 0x45a12d
push 0x45b080
lea edx, [ebp - 0x9c]
xor eax, eax
call fcn.00433b10
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.0040a5f8
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.00433bc4
push dword [ebp - 0x94]
push 0x45b070
lea edx, [ebp - 0xa0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1f8]
push dword [ebp - 0xa0]
lea eax, [ebp - 0x14]
mov edx, 4
call sub.rtl250.bpl__System__UStrCatN_qqrv
push 0x45b0ac
push 0x45b0d0
push 0x45b0f4
lea edx, [ebp - 0x14]
mov ecx, 0x45b120
xor eax, eax
call fcn.00436468
lea eax, [ebp - 0x2c]
call fcn.00433dc8
cmp dword [ebp - 0x2c], 0
je 0x45a411
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0x14]
call fcn.0040a5f8
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0x2c]
call sub.rtl250.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1b4]
test al, al
je 0x45a190
lea eax, [ebp - 0x34]
call sub.rtl250.bpl__System__IntfClear_qqrr44System__DelphiInterface_17System_IInterface_
push eax
push 0x45b13c
push ebx
mov eax, dword [ebx]
call dword [eax]
test eax, eax
jne 0x45a190
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x45a190
xor eax, eax
jmp 0x45a192
mov al, 1
mov byte [ebp - 0x65], al
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1b4]
test al, al
je 0x45a234
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x45a1d0
push 0
mov eax, dword [ebp - 0x2c]
call sub.rtl250.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, dword [ebp - 0x14]
call sub.rtl250.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x45a225
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
je 0x45a234
push 0
lea eax, [ebp - 0xa8]
mov edx, dword [ebp - 0x2c]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0xa8]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 0x14]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0xac]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x45a234
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1bc]
mov byte [ebp - 0x56], al
jmp 0x45a278
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x45a250
mov eax, dword [ebp - 0x2c]
call sub.rtl250.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x45a274
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 0x2c]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0xb0]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_DeleteFileA
mov byte [ebp - 0x65], 1
cmp byte [ebp - 0x65], 0
je 0x45a37a
lea eax, [ebp - 0x34]
call sub.rtl250.bpl__System__IntfClear_qqrr44System__DelphiInterface_17System_IInterface_
push eax
push 0x45b13c
push ebx
mov eax, dword [ebx]
call dword [eax]
test eax, eax
jne 0x45a2a5
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x45a2a9
xor eax, eax
jmp 0x45a2ab
mov al, 1
mov byte [ebp - 0x66], al
push 1
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x2c]
call fcn.00458fc4
test al, al
jne 0x45a36a
lea eax, [ebp - 0xb4]
call fcn.00433dc8
push dword [ebp - 0xb4]
lea eax, [ebp - 0xb8]
push eax
call sub.kernel32.dll_GetTickCount
mov cx, 0x30
mov edx, 1
call fcn.0040913c
push dword [ebp - 0xb8]
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x14]
call fcn.0040a5f8
push dword [ebp - 0xbc]
lea eax, [ebp - 0x2c]
mov edx, 3
call sub.rtl250.bpl__System__UStrCatN_qqrv
push 1
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x2c]
call fcn.00458fc4
test al, al
jne 0x45a36a
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x45a346
mov eax, dword [ebp - 0x2c]
call sub.rtl250.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x45a36a
lea eax, [ebp - 0xc0]
mov edx, dword [ebp - 0x2c]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0xc0]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_DeleteFileA
cmp byte [ebp - 0x66], 0
je 0x45a37a
xor edx, edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x24]
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x45a399
mov eax, dword [ebp - 0x2c]
call sub.rtl250.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x45a3ce
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
je 0x45a40d
lea eax, [ebp - 0xc4]
mov edx, dword [ebp - 0x2c]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0xc4]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45a40d
lea edx, [ebp - 0xc8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1cc]
mov eax, dword [ebp - 0xc8]
push eax
push 0x45b158
lea edx, [ebp - 0xcc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c4]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
mov edi, dword [eax]
call dword [edi + 0x1c]
jmp 0x45a411
mov byte [ebp - 0x56], 0
cmp dword [ebp - 0x50], 0
je 0x45a51d
lea eax, [ebp - 0x18]
call fcn.00433dc8
cmp dword [ebp - 0x18], 0
je 0x45a51d
lea eax, [ebp - 0x18]
mov edx, 0x45b178
call sub.rtl250.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1d4]
cmp eax, 0x19000
jg 0x45a45b
je 0x45a477
sub eax, 4
je 0x45a46b
sub eax, 0xc7fc
je 0x45a471
jmp 0x45a489
sub eax, 0x32000
je 0x45a47d
sub eax, 0x19000
je 0x45a483
jmp 0x45a489
mov byte [ebp - 0x5d], 1
jmp 0x45a48d
mov byte [ebp - 0x5d], 2
jmp 0x45a48d
mov byte [ebp - 0x5d], 3
jmp 0x45a48d
mov byte [ebp - 0x5d], 4
jmp 0x45a48d
mov byte [ebp - 0x5d], 5
jmp 0x45a48d
mov byte [ebp - 0x5d], 0
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x45a4a9
mov eax, dword [ebp - 0x18]
call sub.rtl250.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x45a4cd
lea eax, [ebp - 0xd0]
mov edx, dword [ebp - 0x18]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0xd0]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_DeleteFileA
movzx ecx, byte [ebp - 0x5d]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
je 0x45a51d
lea edx, [ebp - 0xd4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1ec]
mov eax, dword [ebp - 0xd4]
push eax
push 0x45b1a4
lea edx, [ebp - 0xd8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1e4]
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
mov edi, dword [eax]
call dword [edi + 0x1c]
lea edx, [ebp - 0xdc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1f4]
mov eax, dword [ebp - 0xdc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x45a593
inc eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0xe0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1f4]
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 4]
mov edx, dword [ebp - 0x5c]
mov edi, dword [eax]
call dword [edi + 0x18]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
mov edi, dword [eax]
call dword [edi + 0x1c]
inc dword [ebp - 0x5c]
dec dword [ebp - 0x6c]
jne 0x45a548
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x54]
push eax
movzx eax, byte [ebp + 0x18]
push eax
movzx eax, byte [ebp + 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov eax, ebx
call fcn.0044a528
jmp 0x45a5c4
lea eax, [ebp - 0x48]
call sub.rtl250.bpl__System__IntfClear_qqrr44System__DelphiInterface_17System_IInterface_
lea edx, [ebp - 0xe4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1a8]
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp dword [ebp - 0x24], 0
je 0x45a5f8
mov ecx, dword [ebp - 0x24]
mov edx, 0x45b1c8
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0x28]
cmp dword [ebp - 0x1c], 0
je 0x45a60e
mov ecx, dword [ebp - 0x1c]
mov edx, 0x45b1e8
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0x28]
cmp dword [ebp - 0x20], 0
je 0x45a624
mov ecx, dword [ebp - 0x20]
mov edx, 0x45b20c
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0x28]
cmp dword [ebp - 0x28], 0
je 0x45a63a
mov ecx, dword [ebp - 0x28]
mov edx, 0x45b22c
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0x28]
mov byte [ebp - 0x55], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
jne 0x45a67a
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xe8]
test al, al
jne 0x45a67a
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
jne 0x45a67a
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xf8]
test al, al
je 0x45aa7a
lea edx, [ebp - 0xe8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
cmp dword [ebp - 0xe8], 0
je 0x45aa7a
movzx eax, byte [ebp + 0x18]
xor al, 1
call fcn.0044ae74
test al, al
je 0x45aa7a
lea edx, [ebp - 0x4c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xf8]
test al, al
jne 0x45a6f4
cmp dword [ebp - 0x4c], 0
je 0x45a6f4
mov eax, dword [ebp - 0x4c]
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
mov edx, dword [ebp - 0x4c]
cmp byte [edx + eax - 1], 0x2f
jne 0x45a6f4
mov eax, dword [ebp - 0x4c]
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
mov edx, eax
lea eax, [ebp - 0x4c]
mov ecx, 1
call sub.rtl250.bpl__System__LStrDelete_qqrr27System__AnsiStringT_us_i0__ii
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x108]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x110]
push eax
push 0
lea edx, [ebp - 0xec]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x118]
mov eax, dword [ebp - 0xec]
push eax
lea edx, [ebp - 0xf0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x120]
mov eax, dword [ebp - 0xf0]
push eax
lea edx, [ebp - 0xf4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x128]
mov eax, dword [ebp - 0xf4]
push eax
lea edx, [ebp - 0xf8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov eax, dword [ebp - 0xf8]
push eax
mov eax, dword [0x5fb520]
push eax
mov eax, dword [0x5fb524]
push eax
mov eax, dword [0x5fb528]
push eax
mov eax, dword [0x5fb52c]
push eax
push ebx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x45018c]
call fcn.00451a28
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 4]
mov edx, 0x45b24c
mov eax, esi
call fcn.00458a54
lea ecx, [ebp - 8]
mov edx, 0x45b274
mov eax, esi
call fcn.00458a54
lea ecx, [ebp - 0xc]
mov edx, 0x45b2a4
mov eax, esi
call fcn.00458a54
lea ecx, [ebp - 0x10]
mov edx, 0x45b2c0
mov eax, esi
call fcn.00458a54
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
je 0x45a888
lea edx, [ebp - 0xfc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x138]
mov eax, dword [ebp - 0xfc]
push eax
lea edx, [ebp - 0x100]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x140]
mov eax, dword [ebp - 0x100]
push eax
lea edx, [ebp - 0x104]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x148]
mov eax, dword [ebp - 0x104]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
lea edx, [ebp - 0x108]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x308]
mov eax, dword [ebp - 0x108]
push eax
lea edx, [ebp - 0x10c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x300]
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x70]
pop ecx
call fcn.00454778
mov byte [ebp - 0x55], al
jmp 0x45aa72
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xe8]
test al, al
je 0x45a9ab
mov edi, dword [0x6038b4]
mov edi, dword [edi]
lea eax, [ebp - 0x10]
mov edx, 0x45b2dc
call edi
mov edi, dword [0x6036c4]
mov edi, dword [edi]
lea eax, [ebp - 0x10]
mov dl, 0x2c
call edi
lea eax, [ebp - 0x110]
push eax
mov edi, dword [0x603af4]
mov edi, dword [edi]
mov cl, 0x2c
mov edx, 2
mov eax, dword [ebp - 0x10]
call edi
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 0x10]
call sub.rtl250.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call sub.rtl250.bpl__System__UStrDelete_qqrr20System_UnicodeStringii
mov eax, dword [ebp - 0x10]
mov edx, 0x45b308
call sub.rtl250.bpl__System__UStrEqual_qqrv
jne 0x45a910
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call sub.rtl250.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea edx, [ebp - 0x114]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x138]
mov eax, dword [ebp - 0x114]
push eax
lea edx, [ebp - 0x118]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x140]
mov eax, dword [ebp - 0x118]
push eax
lea edx, [ebp - 0x11c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x148]
mov eax, dword [ebp - 0x11c]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
lea edx, [ebp - 0x120]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x308]
mov eax, dword [ebp - 0x120]
push eax
lea edx, [ebp - 0x124]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x300]
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x70]
pop ecx
call fcn.00456104
mov byte [ebp - 0x55], al
jmp 0x45aa72
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45aa55
lea edx, [ebp - 0x128]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x138]
mov eax, dword [ebp - 0x128]
push eax
lea edx, [ebp - 0x12c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x140]
mov eax, dword [ebp - 0x12c]
push eax
lea edx, [ebp - 0x130]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x148]
mov eax, dword [ebp - 0x130]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
lea edx, [ebp - 0x134]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x308]
mov eax, dword [ebp - 0x134]
push eax
lea edx, [ebp - 0x138]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x300]
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x70]
pop ecx
call fcn.00457e78
mov byte [ebp - 0x55], al
jmp 0x45aa72
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x70]
call fcn.00453cd8
mov byte [ebp - 0x55], al
mov eax, dword [ebp - 0x70]
call sub.rtl250.bpl__System_TObject_Free_qqrv
cmp byte [ebp - 0x55], 0
jne 0x45abda
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x150]
test al, al
je 0x45aaf2
cmp dword [ebp - 0x28], 0
je 0x45aae4
movzx eax, byte [ebp + 0x18]
xor al, 1
call fcn.0044ae74
test al, al
je 0x45aae4
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [0x5fb548]
push eax
push 0
push 0
mov eax, dword [ebp - 0x48]
push eax
push ebx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.0044fdf0
test al, al
jne 0x45aae8
xor eax, eax
jmp 0x45aaea
mov al, 1
mov byte [ebp - 0x55], al
jmp 0x45abda
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x158]
test al, al
je 0x45abda
cmp dword [ebp - 0x28], 0
je 0x45abd1
lea edx, [ebp - 0x13c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x160]
cmp dword [ebp - 0x13c], 0
je 0x45abd1
movzx eax, byte [ebp + 0x18]
xor al, 1
call fcn.0044ae74
test al, al
je 0x45abd1
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
push 0
lea edx, [ebp - 0x140]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x160]
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x144]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x180]
mov eax, dword [ebp - 0x144]
push eax
lea edx, [ebp - 0x148]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x188]
mov eax, dword [ebp - 0x148]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x178]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x168]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x170]
push eax
mov eax, dword [ebp - 0x48]
push eax
push ebx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.0044fdf0
test al, al
jne 0x45abd5
xor eax, eax
jmp 0x45abd7
mov al, 1
mov byte [ebp - 0x55], al
cmp dword [ebp - 0x48], 0
je 0x45abe8
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
call dword [edx + 0x38]
cmp dword [ebp - 0x18], 0
je 0x45ac42
cmp byte [ebp - 0x55], 0
jne 0x45ac02
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x190]
test al, al
jne 0x45ac42
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x45ac1e
mov eax, dword [ebp - 0x18]
call sub.rtl250.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x45ac42
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 0x18]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x14c]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_DeleteFileA
cmp byte [ebp - 0x55], 0
jne 0x45ad58
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x190]
test al, al
je 0x45ac7c
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x54]
push eax
movzx eax, byte [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
call fcn.0044b0e4
mov byte [ebp - 0x55], al
cmp byte [ebp - 0x55], 0
jne 0x45acd6
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x198]
test al, al
je 0x45acd6
cmp byte [ebp + 0x18], 0
jne 0x45acd6
mov byte [ebp - 0x56], 0
cmp dword [ebp - 0x54], 0
je 0x45acb5
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 0x54]
push eax
call sub.user32.dll_SetWindowPos
cmp dword [ebp - 0x3c], 0
je 0x45acc5
lea eax, [ebp - 0x20]
mov edx, esi
call sub.rtl250.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
call fcn.0044b600
mov byte [ebp - 0x55], al
cmp byte [ebp - 0x55], 0
jne 0x45ad58
cmp byte [ebp + 0x18], 0
jne 0x45ad58
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x45ad19
push 0x10
push 0
lea edx, [ebp - 0x150]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x360]
mov eax, dword [ebp - 0x150]
call sub.rtl250.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.user32.dll_MessageBoxW
jmp 0x45ad58
push 0x10
push 0
lea edx, [ebp - 0x158]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x360]
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 0x154]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x154]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.user32.dll_MessageBoxA
cmp byte [ebp - 0x55], 1
jne 0x45ae1b
lea eax, [ebp - 0x34]
call sub.rtl250.bpl__System__IntfClear_qqrr44System__DelphiInterface_17System_IInterface_
push eax
push 0x45b13c
push ebx
mov eax, dword [ebx]
call dword [eax]
test eax, eax
jne 0x45ad83
mov dl, 1
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp byte [ebp - 0x56], 0
je 0x45ae1b
cmp dword [ebp - 0x14], 0
je 0x45ae1b
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1bc]
test al, al
je 0x45ae1b
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x45add1
push 0
mov eax, dword [ebp - 0x14]
call sub.rtl250.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 0x14]
call sub.rtl250.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x45ae1b
push 0
lea eax, [ebp - 0x15c]
mov edx, dword [ebp - 0x14]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x15c]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x160]
mov edx, dword [ebp - 0x14]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x160]
call sub.rtl250.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 0x45afac
lea eax, [ebp - 0x160]
mov edx, 2
call sub.rtl250.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x158]
call sub.rtl250.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x154]
call sub.rtl250.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x150]
call sub.rtl250.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x14c]
call sub.rtl250.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x148]
mov edx, 2
call sub.rtl250.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x140]
mov edx, 2
call sub.rtl250.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x138]
mov edx, 0x14
call sub.rtl250.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0xe8]
call sub.rtl250.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xe4]
call sub.rtl250.bpl__System__IntfClear_qqrr44System__DelphiInterface_17System_IInterface_
lea eax, [ebp - 0xe0]
mov edx, dword [0x432978]
mov ecx, 2
call sub.rtl250.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0xd8]
mov edx, 2
call sub.rtl250.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0xd0]
call sub.rtl250.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xcc]
mov edx, 2
call sub.rtl250.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0xc4]
mov edx, 2
call sub.rtl250.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xbc]
mov edx, 3
call sub.rtl250.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0xb0]
mov edx, 3
call sub.rtl250.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xa4]
mov edx, 6
call sub.rtl250.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x8c]
call sub.rtl250.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x88]
call sub.rtl250.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x84]
call sub.rtl250.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x80]
mov edx, 4
call sub.rtl250.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x4c]
call sub.rtl250.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x48]
call sub.rtl250.bpl__System__IntfClear_qqrr44System__DelphiInterface_17System_IInterface_
lea eax, [ebp - 0x44]
mov edx, dword [0x406968]
mov ecx, 3
call sub.rtl250.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x38]
call sub.rtl250.bpl__System__IntfClear_qqrr44System__DelphiInterface_17System_IInterface_
lea eax, [ebp - 0x34]
call sub.rtl250.bpl__System__IntfClear_qqrr44System__DelphiInterface_17System_IInterface_
lea eax, [ebp - 0x30]
call sub.rtl250.bpl__System__IntfClear_qqrr44System__DelphiInterface_17System_IInterface_
lea eax, [ebp - 0x2c]
mov edx, 0xb
call sub.rtl250.bpl__System__UStrArrayClr_qqrpvi
ret