Function at 0x494f00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4b3008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0xf8]
sub eax, dword [esi + 0xf4]
test eax, 0xfffffffc
je 0x4952ce
push 0x7c1d48
lea eax, [ebp - 0x10c]
push str._sresult.Shop.dat
push eax
call fcn.00404440
add esp, 0xc
lea eax, [ebp - 0x10c]
push 0x4a6fb8
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov ebx, eax
add esp, 8
mov dword [ebp - 0x114], ebx
test ebx, ebx
je 0x4952ce
push 0x4a70d8
push ebx
call fcn.00411e60
mov ecx, dword [esi + 0xf8]
add esp, 8
mov eax, dword [esi + 0xf4]
xor edi, edi
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x110], eax
cmp eax, ecx
je 0x4952b0
movsd xmm1, qword [0x4ae9b8]
xorps xmm2, xmm2
nop dword [eax]
mov ecx, dword [eax]
cmp dword [ecx + 0x49d8], 2
jge 0x494fd7
movsd xmm0, qword [ecx + 0x4890]
ucomisd xmm0, xmm2
lahf
test ah, 0x44
mov eax, dword [ebp - 0x110]
jnp 0x495295
mov ebx, dword [ecx + 0x49d0]
test ebx, ebx
je 0x495295
mov eax, dword [ebx + 0x485c]
mov ebx, dword [ebx + 0x4858]
mov dword [ebp - 0x11c], eax
cmp ebx, eax
je 0x49528f
nop
mov esi, dword [ebx]
mov eax, dword [esi + 0x49a0]
sub eax, dword [esi + 0x499c]
sar eax, 2
test eax, eax
je 0x495280
mov ecx, dword [esi + 0x4978]
inc edi
mov dword [ebp - 0x118], edi
xor edx, edx
mov edi, dword [esi + 0x497c]
mov eax, edi
sub eax, ecx
sar eax, 2
test eax, eax
je 0x495057
cmp ecx, edi
je 0x495057
mov esi, 2
mov eax, dword [ecx]
cmp dword [eax + 0x4930], 5
cmove edx, esi
add ecx, 4
cmp ecx, edi
jne 0x495042
mov esi, dword [ebx]
cmp dword [0x7c1e70], 2
movaps xmm7, xmm2
jge 0x4950a4
movsd xmm0, qword [esi + 0x60]
movsd xmm7, qword [esi + 0x48]
mulsd xmm7, qword [0x4aed38]
mulsd xmm0, qword [0x4aed90]
addsd xmm7, qword [0x4aeaa0]
mulsd xmm0, xmm1
subsd xmm7, xmm0
movsd xmm0, qword [esi + 0x58]
mulsd xmm0, xmm1
subsd xmm7, xmm0
mulsd xmm7, qword [0x4af830]
jmp 0x4950e4
mov eax, 0x4a3168
lea ecx, [esi + 0x2048]
nop
movsd xmm1, qword [ecx - 8]
mulsd xmm1, qword [eax - 8]
movsd xmm0, qword [eax]
add eax, 0x10
mulsd xmm0, qword [ecx]
add ecx, 0x10
addsd xmm7, xmm1
addsd xmm7, xmm0
cmp eax, 0x4a3218
jl 0x4950b0
mulsd xmm7, qword [0x4af6e8]
divsd xmm7, qword [esi + 0x50]
movsd xmm1, qword [esi + 0x4878]
sub esp, 0xa8
movsd xmm3, qword [esi + 0x2410]
movaps xmm0, xmm1
mulsd xmm0, xmm2
movaps xmm5, xmm3
movsd xmm2, qword [esi + 0x4870]
addsd xmm3, xmm1
movsd qword [esp + 0xa0], xmm7
movaps xmm6, xmm2
movsd xmm7, qword [0x4aeb28]
subsd xmm5, xmm0
movsd xmm4, qword [esi + 0x20]
xorps xmm0, xmm0
movsd xmm1, qword [0x4ae8b0]
mulsd xmm6, xmm0
movups xmm0, xmmword [esi + 0x2448]
mulsd xmm3, xmm1
movups xmmword [esp + 0x90], xmm0
movsd xmm0, qword [esi + 0x6f40]
addsd xmm6, xmm4
movsd qword [esp + 0x88], xmm0
subsd xmm4, xmm2
movsd xmm0, qword [esi + 0x6ea8]
mulsd xmm0, xmm7
mulsd xmm4, xmm1
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [esi + 0x6e30]
movsd qword [esp + 0x78], xmm0
movups xmm0, xmmword [esi + 0x6e18]
movups xmmword [esp + 0x68], xmm0
movsd xmm0, qword [esi + 0x6e10]
mulsd xmm0, xmm7
movsd qword [esp + 0x60], xmm0
movsd xmm0, qword [esi + 0x6e40]
subsd xmm0, qword [0x4af658]
movsd qword [esp + 0x58], xmm0
movaps xmm0, xmm5
divsd xmm0, xmm6
movsd qword [esp + 0x50], xmm3
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [esi + 0x2420]
mulsd xmm0, xmm7
movsd qword [esp + 0x40], xmm4
mulsd xmm5, xmm1
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [esi + 0x2438]
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [esi + 0x2418]
subsd xmm0, qword [0x4af658]
mulsd xmm6, xmm1
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [esi + 0x30]
mulsd xmm0, xmm7
movsd qword [esp + 0x20], xmm5
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esi + 0x48]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esi + 0x28]
subsd xmm0, qword [0x4af658]
movsd qword [esp + 8], xmm0
movsd qword [esp], xmm6
push edx
push dword [esi + 0x4818]
push str._d__d__lf__lf__lf__lf__lf__lf__lf__lf__lf__lf__lf__lf__lf__lf__lf__lf__lf__lf__lf__lf__lf_n
push dword [ebp - 0x114]
call fcn.00411e60
movsd xmm1, qword [0x4ae9b8]
add esp, 0xb8
mov edi, dword [ebp - 0x118]
xorps xmm2, xmm2
add ebx, 4
cmp ebx, dword [ebp - 0x11c]
jne 0x495000
mov eax, dword [ebp - 0x110]
add eax, 4
mov dword [ebp - 0x110], eax
cmp eax, dword [ebp - 0x120]
jne 0x494fb0
mov ebx, dword [ebp - 0x114]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
jne 0x4952ce
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a034d
mov esp, ebp
pop ebp
ret 4