Function at 0x459758
Capabilities:
Delete file

Disassembly:
push 0x304
mov eax, 0x666b8e
call fcn.005bea6f
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 0x12fc748
push dword [0x12fa964]
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2a4], eax
call fcn.004203f9
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.0042077f
add esp, 0x1c
lea ecx, [ebp - 0x290]
push str.CChronosAccess::CreateChronosObject
call fcn.00464ead
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x170c]
call fcn.00464ffa
mov ecx, dword [edi + 0x1710]
call fcn.00464ffa
mov eax, dword [ebp - 0x2a4]
lea ecx, [edi + 0x3e0]
mov dword [eax], ebx
call fcn.00467e67
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x459815
call fcn.00470393
push 0x14b8
call fcn.0052bbfd
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.0046fdf5
mov byte [ebp - 4], 1
mov dword [edi + 4], eax
test eax, eax
je 0x4598d3
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.0041bd4a
mov ecx, dword [edi + 4]
call fcn.00470a59
mov esi, dword [edi + 4]
lea ecx, [edi + 0x3e0]
add esi, 0x9c8
mov dword [edi + 8], esi
call fcn.00467e67
lea eax, [edi + 0x3e0]
mov ecx, eax
mov dword [eax], esi
call fcn.00467e67
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.0042077f
mov esi, dword [ebp - 0x2b8]
add esp, 0x18
movsd xmm0, qword [0x8c26e0]
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 0x459b35
lea ecx, [ebp - 0x310]
call fcn.00459218
movsd xmm0, qword [0x8c27e8]
lea edi, [esi + 0x6a0]
movd xmm2, edx
lea ecx, [ebp - 0x298]
cvtdq2pd xmm2, xmm2
push edi
divsd xmm0, xmm2
divsd xmm2, qword [0x8c27e8]
movsd qword [ebp - 0x2d8], xmm0
movsd qword [ebp - 0x2d0], xmm2
call fcn.004590bc
lea ecx, [esi + 0x3e8]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x294]
call fcn.004590bc
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.0046f18f
mov ecx, dword [ebp - 0x294]
add esp, 0x18
neg al
sbb al, al
inc al
mov byte [ebp - 0x299], al
test ecx, ecx
je 0x4599b6
call fcn.004591a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x298]
test ecx, ecx
je 0x4599c9
call fcn.004591a0
cmp byte [ebp - 0x299], 0
je 0x4599e6
mov eax, dword [ebp - 0x2a4]
mov dword [eax], 0x64
mov ebx, dword [esi + 4]
jmp 0x459eb9
push edi
lea ecx, [ebp - 0x294]
call fcn.004590bc
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.00468a3c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x294]
test ecx, ecx
je 0x459a20
call fcn.004591a0
push ebx
mov ecx, esi
call fcn.004687af
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.00469821
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.004590bc
push ebx
push 2
push 0xa
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.004687af
push eax
lea eax, [ebp - 0x294]
mov ecx, edi
push eax
call fcn.00469b1b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x294]
test ecx, ecx
je 0x459ac9
call fcn.004591a0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x298]
push 0xa
mov dword [eax + 0xa4c], ecx
mov ecx, edi
call fcn.00468822
lea eax, [esi + 0x6a0]
mov dword [esi + 0x5f4], 0xc8
push eax
lea eax, [esi + 0x3e8]
push 0x104
push eax
call fcn.005ea3e6
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.0042077f
add esp, 0x14
jmp 0x459b38
lea edi, [esi + 8]
mov ecx, edi
call fcn.004688ad
lea eax, [esi + 0x3e8]
push eax
lea ecx, [ebp - 0x294]
call fcn.004590bc
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.00468a3c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x294]
test ecx, ecx
je 0x459b85
call fcn.004591a0
push ebx
mov ecx, edi
call fcn.00468880
test al, al
je 0x459ba2
mov eax, dword [ebp - 0x2a4]
mov dword [eax], 6
jmp 0x459d47
push ebx
mov ecx, edi
call fcn.004687af
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 0x459ca1
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 0x459c42
mov ecx, dword [ebp - 0x294]
cmp eax, ecx
jge 0x459d08
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.00469592
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.00469821
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.0042077f
mov eax, dword [ebp - 0x2b8]
add esp, 0x20
mov dword [ebp - 0x298], 1
mov ecx, edi
cmp dword [eax + 0x210], 0x11
jne 0x459d10
push 6
push ebx
mov dword [ebp - 0x298], 0x10
call fcn.00469592
mov ecx, edi
call fcn.0046d946
jmp 0x459d37
mov esi, dword [ebp - 0x2a8]
jmp 0x459ca7
push ebx
call fcn.004687af
cmp dword [eax + 0x18], 3
je 0x459d82
push 6
push ebx
mov ecx, edi
mov dword [ebp - 0x298], 4
call fcn.00469592
mov ecx, edi
call fcn.0046de4a
test al, al
jne 0x459d78
mov eax, dword [ebp - 0x2a4]
mov dword [eax], 5
mov dword [edi], ebx
lea edi, [esi + 0x3e0]
mov ecx, edi
call fcn.00467e67
mov ecx, edi
mov dword [edi], ebx
call fcn.00467e67
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x459eb9
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], ebx
jmp 0x459eb9
push ebx
push 6
mov ecx, edi
call fcn.00469592
push 0x470
call fcn.0052bbfd
mov ecx, eax
mov dword [ebp - 0x2ac], eax
call fcn.00470f34
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.005ea3e6
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.00470fe0
mov ecx, dword [ebx + 4]
push 1
call fcn.00470b6e
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.0045f2df
movsd xmm0, qword [ebp - 0x2d0]
ucomisd xmm0, qword [0x8c26e0]
lahf
test ah, 0x44
jnp 0x459eb6
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.0042077f
add esp, 0x14
mov ebx, dword [ebx + 4]
lea ecx, [ebp - 0x290]
call fcn.00464ed5
lea ecx, [ebp - 0x88]
call fcn.004204d2
mov eax, ebx
call fcn.005bea19
ret 8