Function at 0x454182
Capabilities:
Delete file

Disassembly:
push 0x304
mov eax, 0x622f5e
call fcn.005b83bf
mov edi, ecx
mov dword [ebp - 0x2a8], edi
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x88]
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 0x57
push str.CChronosAccess::CreateChronosObject
push 0x129ab4c
push dword [0x12992f8]
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2a4], eax
call fcn.0041f881
push esi
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x88]
push dword [esi + 0x20c]
push str.CChronosAccess::CreateChronosObject
push str._s___ddpi___s
push 0x58
push 0x200
push eax
call fcn.0041fc07
add esp, 0x1c
lea ecx, [ebp - 0x290]
push str.CChronosAccess::CreateChronosObject
call fcn.0045f8e6
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x170c]
call fcn.0045fa31
mov ecx, dword [edi + 0x1710]
call fcn.0045fa31
mov eax, dword [ebp - 0x2a4]
lea ecx, [edi + 0x3e0]
mov dword [eax], ebx
call fcn.0046289e
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x45423f
call fcn.0046adc9
push 0x14b8
call fcn.00525a5d
pop ecx
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 2
mov edx, dword [edi + 0x63c]
push esi
lea ecx, [edx + 1]
mov dword [edi + 0x63c], ecx
lea ecx, [edi + 8]
push ecx
mov dword [ebp - 0x2b0], ecx
mov ecx, eax
push edx
call fcn.0046a82b
mov byte [ebp - 4], 1
mov dword [edi + 4], eax
test eax, eax
je 0x4542fd
cmp dword [esi + 0x210], 0x11
sete al
movzx eax, al
push eax
sub esp, 0x18
lea eax, [edi + 0x16e0]
mov ecx, esp
push eax
call fcn.0041b3b8
mov ecx, dword [edi + 4]
call fcn.0046b48f
mov esi, dword [edi + 4]
lea ecx, [edi + 0x3e0]
add esi, 0x9c8
mov dword [edi + 8], esi
call fcn.0046289e
lea eax, [edi + 0x3e0]
mov ecx, eax
mov dword [eax], esi
call fcn.0046289e
mov eax, dword [edi + 4]
push dword [eax + 0x3d0]
lea eax, [ebp - 0x88]
push str.CChronosAccess::CreateChronosObject
push str._s__id___d
push 0x69
push 0x200
push eax
call fcn.0041fc07
mov esi, dword [ebp - 0x2b8]
add esp, 0x18
movsd xmm0, qword [0x8725b8]
add edi, 0x3e8
mov ecx, 0x94
movsd qword [ebp - 0x2d0], xmm0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2a8]
mov edx, dword [esi + 0x5f4]
cmp edx, 0x258
jle 0x45455f
lea ecx, [ebp - 0x310]
call fcn.00453c42
movsd xmm0, qword [0x8726c0]
lea edi, [esi + 0x6a0]
movd xmm2, edx
lea ecx, [ebp - 0x298]
cvtdq2pd xmm2, xmm2
push edi
divsd xmm0, xmm2
divsd xmm2, qword [0x8726c0]
movsd qword [ebp - 0x2d8], xmm0
movsd qword [ebp - 0x2d0], xmm2
call fcn.00453ae6
lea ecx, [esi + 0x3e8]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x294]
call fcn.00453ae6
push ebx
push 0x32
push 0xc8
push 1
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 4
cmp dword [esi + 0x5f0], 1
lea ecx, [ebp - 0x294]
push eax
lea eax, [ebp - 0x310]
sete dl
push eax
call fcn.00469bc5
mov ecx, dword [ebp - 0x294]
add esp, 0x18
neg al
sbb al, al
inc al
mov byte [ebp - 0x299], al
test ecx, ecx
je 0x4543e0
call fcn.00453bca
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x298]
test ecx, ecx
je 0x4543f3
call fcn.00453bca
cmp byte [ebp - 0x299], 0
je 0x454410
mov eax, dword [ebp - 0x2a4]
mov dword [eax], 0x64
mov ebx, dword [esi + 4]
jmp 0x4548e3
push edi
lea ecx, [ebp - 0x294]
call fcn.00453ae6
mov esi, dword [ebp - 0x2b0]
lea eax, [ebp - 0x294]
push 1
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00463472
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x294]
test ecx, ecx
je 0x45444a
call fcn.00453bca
push ebx
mov ecx, esi
call fcn.004631e6
sub esp, 0x10
mov dword [ebp - 0x2c4], ebx
mov edi, esp
mov dword [ebp - 0x2c8], ebx
lea esi, [ebp - 0x2c8]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x2c0], ecx
dec eax
mov dword [ebp - 0x2bc], eax
movsd dword es:[edi], dword [esi]
push 0xa
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x2b0]
mov ecx, edi
call fcn.00464257
mov esi, dword [ebp - 0x2a8]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xa4c]
mov dword [eax + 0xa4c], 0x64
lea eax, [esi + 0x6a0]
mov dword [ebp - 0x298], ecx
lea ecx, [ebp - 0x294]
push eax
call fcn.00453ae6
push ebx
push 2
push 0xa
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.004631e6
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
call fcn.00464551
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x294]
test ecx, ecx
je 0x4544f3
call fcn.00453bca
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x298]
push 0xa
mov dword [eax + 0xa4c], ecx
mov ecx, edi
call fcn.00463259
lea eax, [esi + 0x6a0]
mov dword [esi + 0x5f4], 0xc8
push eax
lea eax, [esi + 0x3e8]
push 0x104
push eax
call fcn.005c1f86
add esp, 0xc
mov dword [esi + 0x5f0], 2
lea eax, [ebp - 0x88]
push str.CChronosAccess::CreateChronosObject
push str._s_Large_Original_scaled_down
push 0x8d
push 0x200
push eax
call fcn.0041fc07
add esp, 0x14
jmp 0x454562
lea edi, [esi + 8]
mov ecx, edi
call fcn.004632e4
lea eax, [esi + 0x3e8]
push eax
lea ecx, [ebp - 0x294]
call fcn.00453ae6
mov byte [ebp - 4], 7
mov ecx, edi
cmp dword [esi + 0x5f0], 1
sete al
movzx eax, al
push eax
push ebx
lea eax, [ebp - 0x294]
push eax
call fcn.00463472
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x294]
test ecx, ecx
je 0x4545af
call fcn.00453bca
push ebx
mov ecx, edi
call fcn.004632b7
test al, al
je 0x4545cc
mov eax, dword [ebp - 0x2a4]
mov dword [eax], 6
jmp 0x454771
push ebx
mov ecx, edi
call fcn.004631e6
mov edx, dword [esi + 0x5f4]
mov dword [ebp - 0x298], edx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x294], ecx
cmp dword [eax + 0x210], 0x11
je 0x4546cb
mov eax, edx
imul ecx, ecx, 0x64
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov eax, ecx
cdq
idiv dword [ebp - 0x298]
push 0x64
sub ecx, edx
lea eax, [esi + ecx]
cdq
pop ecx
idiv ecx
imul ecx, dword [ebp - 0x2a0], 0x64
mov dword [ebp - 0x2b4], eax
push 0x64
mov eax, ecx
cdq
idiv dword [ebp - 0x298]
sub ecx, edx
lea eax, [esi + ecx]
cdq
pop ecx
idiv ecx
mov edx, dword [ebp - 0x2a0]
mov esi, eax
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2ac], esi
cmp esi, edx
jl 0x45466c
mov ecx, dword [ebp - 0x294]
cmp eax, ecx
jge 0x454732
push 6
push ebx
mov ecx, edi
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2bc], esi
call fcn.00463fc8
sub esp, 0x10
lea esi, [ebp - 0x2c8]
mov edi, esp
push ebx
movsd dword es:[edi], dword [esi]
push 6
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x2b0]
mov ecx, edi
call fcn.00464257
mov ecx, dword [ebp - 0x2b4]
mov eax, dword [ebp - 0x2ac]
mov esi, dword [ebp - 0x2a8]
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x2a0], eax
mov edx, dword [ebp - 0x2a0]
push dword [ebp - 0x298]
lea eax, [ebp - 0x88]
push edx
push ecx
push str.CChronosAccess::CreateChronosObject
push str._s_W_d__H_d__Res_d
push 0xb8
push 0x200
push eax
call fcn.0041fc07
mov eax, dword [ebp - 0x2b8]
add esp, 0x20
mov dword [ebp - 0x298], 1
mov ecx, edi
cmp dword [eax + 0x210], 0x11
jne 0x45473a
push 6
push ebx
mov dword [ebp - 0x298], 0x10
call fcn.00463fc8
mov ecx, edi
call fcn.0046837c
jmp 0x454761
mov esi, dword [ebp - 0x2a8]
jmp 0x4546d1
push ebx
call fcn.004631e6
cmp dword [eax + 0x18], 3
je 0x4547ac
push 6
push ebx
mov ecx, edi
mov dword [ebp - 0x298], 4
call fcn.00463fc8
mov ecx, edi
call fcn.00468880
test al, al
jne 0x4547a2
mov eax, dword [ebp - 0x2a4]
mov dword [eax], 5
mov dword [edi], ebx
lea edi, [esi + 0x3e0]
mov ecx, edi
call fcn.0046289e
mov ecx, edi
mov dword [edi], ebx
call fcn.0046289e
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4548e3
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], ebx
jmp 0x4548e3
push ebx
push 6
mov ecx, edi
call fcn.00463fc8
push 0x470
call fcn.00525a5d
mov ecx, eax
mov dword [ebp - 0x2ac], eax
call fcn.0046b96a
mov ecx, dword [esi + 4]
mov dword [ecx + 8], eax
lea ecx, [esi + 0x3e8]
mov eax, dword [esi + 4]
push ecx
push 0x104
mov eax, dword [eax + 8]
add eax, 0x208
push eax
call fcn.005c1f86
mov eax, dword [ebp - 0x294]
add esp, 0xc
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2bc], eax
mov eax, dword [esi + 4]
lea esi, [ebp - 0x2c8]
movsd xmm0, qword [ebp - 0x2d0]
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2c4], ebx
mov edi, dword [eax + 8]
mov ebx, dword [ebp - 0x2a8]
add edi, 0x41c
mov ecx, dword [ebp - 0x298]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
movsd qword [eax + 0x440], xmm0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
mov dword [eax + 0x418], ecx
mov ecx, dword [ebx + 4]
push dword [ecx + 0x3d0]
mov ecx, dword [ecx + 8]
call fcn.0046ba14
mov ecx, dword [ebx + 4]
push 1
call fcn.0046b5a4
mov edi, dword [ebx + 4]
lea esi, [ebx + 0x65c]
add edi, 0x230
mov dword [ebx + 0x638], edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x638]
mov eax, dword [ebx + 0x5f4]
mov dword [ecx + 0x2bc], eax
mov ecx, ebx
call fcn.00459d18
movsd xmm0, qword [ebp - 0x2d0]
ucomisd xmm0, qword [0x8725b8]
lahf
test ah, 0x44
jnp 0x4548e0
lea esi, [ebx + 0x6a0]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push str.Deleting_the_file__s
push 0xf6
lea eax, [ebp - 0x88]
push 0x200
push eax
call fcn.0041fc07
add esp, 0x14
mov ebx, dword [ebx + 4]
lea ecx, [ebp - 0x290]
call fcn.0045f90e
lea ecx, [ebp - 0x88]
call fcn.0041f95a
mov eax, ebx
call fcn.005b8369
ret 8