Function at 0x100254f6
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100258ab
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x9c], 0x1b38
cmp dword [ebp - 0x9c], 0xd5f
jge 0x10025802
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x110]
push eax
mov ecx, 0x10659d70
call fcn.1002b34d
mov ecx, eax
call fcn.1002b34d
xor eax, eax
inc eax
je 0x10025802
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xf0]
push eax
mov ecx, 0x10659d70
call fcn.1002b34d
mov ecx, eax
call fcn.1002b34d
mov ecx, eax
call fcn.1002b34d
movsd xmm0, qword [0x1000ace8]
comisd xmm0, xmmword [ebp - 0xf0]
jae 0x100255cb
movsd xmm0, qword [0x1000ace8]
comisd xmm0, xmmword [ebp - 0xa8]
jae 0x100255cb
movsd xmm0, qword [0x1000ace8]
comisd xmm0, xmmword [ebp - 0xfc]
jb 0x100255d0
jmp 0x10025802
push 2
pop ecx
call fcn.100304c2
mulsd xmm0, qword [ebp - 0x110]
or ecx, 0xffffffff
movsd qword [ebp - 0x158], xmm0
call fcn.100307c1
mulsd xmm0, qword [ebp - 0xf0]
divsd xmm0, qword [0x1000ad20]
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.1004fc20
pop ecx
pop ecx
fstp qword [ebp - 0x160]
movsd xmm0, qword [ebp - 0x160]
or ecx, 0xffffffff
movsd qword [ebp - 0x120], xmm0
call fcn.100307c1
mulsd xmm0, qword [ebp - 0xf0]
divsd xmm0, qword [0x1000ad20]
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.1004fc20
pop ecx
pop ecx
fstp qword [ebp - 0x150]
movsd xmm0, qword [ebp - 0x120]
mulsd xmm0, qword [ebp - 0x150]
movsd xmm1, qword [0x1000ad08]
divsd xmm1, xmm0
or ecx, 0xffffffff
movsd qword [ebp - 0x108], xmm1
call fcn.100307c1
mulsd xmm0, qword [ebp - 0xfc]
divsd xmm0, qword [0x1000ad20]
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.1004fc20
pop ecx
pop ecx
fstp qword [ebp - 0x130]
movsd xmm0, qword [ebp - 0x130]
or ecx, 0xffffffff
movsd qword [ebp - 0x170], xmm0
call fcn.100307c1
mulsd xmm0, qword [ebp - 0xfc]
divsd xmm0, qword [0x1000ad20]
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.1004fc20
pop ecx
pop ecx
fstp qword [ebp - 0x140]
movsd xmm0, qword [ebp - 0x170]
mulsd xmm0, qword [ebp - 0x140]
movsd xmm1, qword [0x1000ad08]
divsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x108]
addsd xmm0, xmm1
or ecx, 0xffffffff
movsd qword [ebp - 0x148], xmm0
call fcn.100307c1
mulsd xmm0, qword [ebp - 0xa8]
divsd xmm0, qword [0x1000ad20]
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.1004fc20
pop ecx
pop ecx
fstp qword [ebp - 0x118]
movsd xmm0, qword [ebp - 0x118]
or ecx, 0xffffffff
movsd qword [ebp - 0x128], xmm0
call fcn.100307c1
mulsd xmm0, qword [ebp - 0xa8]
divsd xmm0, qword [0x1000ad20]
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.1004fc20
pop ecx
pop ecx
fstp qword [ebp - 0x138]
movsd xmm0, qword [ebp - 0x128]
mulsd xmm0, qword [ebp - 0x138]
movsd xmm1, qword [0x1000ad10]
divsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x148]
subsd xmm0, xmm1
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.1004d8c4
pop ecx
pop ecx
fstp qword [ebp - 0x168]
movsd xmm0, qword [ebp - 0x158]
divsd xmm0, qword [ebp - 0x168]
addsd xmm0, qword [ebp - 0x178]
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.100506e1
pop ecx
pop ecx
call fcn.10067510
mov dword [ebp - 0xd8], eax
push fcn.1003046c
push dword [ebp - 0xd8]
mov ecx, 0x10659cb8
call fcn.1002b51b
mov ecx, eax
call fcn.1002b50f
jmp 0x1002555f
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x1002586e
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx]
sub ecx, dword [eax + 0x34]
mov eax, dword [ebp - 0xa0]
mov dword [eax], ecx
jmp 0x100258a6
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 4], eax
jmp 0x10025aeb
lea eax, [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x10025941
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x1002593c
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x10025aeb
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x100], eax
push 0
mov ecx, dword [ebp - 0x70]
call fcn.1002ba5b
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x80]
jg 0x10025a09
mov dword [ebp - 0x30], 1
jmp 0x10025a0d
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
neg eax
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx]
jle 0x10025a22
mov dword [ebp - 0xc], 1
jmp 0x10025a26
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x10025a3e
mov dword [ebp - 0x28], 1
jmp 0x10025a42
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jl 0x10025a55
mov dword [ebp - 0x10], 1
jmp 0x10025a59
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x10025a6a
mov dword [ebp - 0x14], 1
jmp 0x10025a6e
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 1
jne 0x10025a7d
mov dword [ebp - 0x1c], 1
jmp 0x10025a81
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
sub eax, 0x5327
mov ecx, dword [ebp - 8]
imul eax, dword [ecx]
cmp eax, 0x2a2c7a2e
jge 0x10025ab6
push 0
mov ecx, dword [ebp - 0x90]
call fcn.1002ba5b
cmp dword [eax], 0
jne 0x10025ab6
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jne 0x10025ab6
and dword [ebp - 0x24], 0
jmp 0x10025abd
mov dword [ebp - 0x24], 1
push 0
mov ecx, dword [ebp - 0x98]
call fcn.1002ba5b
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jne 0x10025ada
mov dword [ebp - 0x34], 1
jmp 0x10025ade
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [eax]
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret