Function at 0x45aee4
Capabilities:
Delete file

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov byte [esp], dl
mov ebx, eax
mov byte [esp + 1], 0
cmp byte [ebx + 0x438], 0
jne 0x45b236
cmp byte [ebx + 0x442], 0
jne 0x45b236
mov eax, ebx
call fcn.0044f5d0
test al, al
je 0x45b236
mov eax, dword [ebx + 0xc]
mov dl, 1
call fcn.00419834
test al, al
je 0x45b236
mov eax, dword [0x4be570]
cmp byte [eax], 0
jne 0x45af7a
cmp byte [esp], 0
je 0x45af5e
push 0
push 0
mov ax, word [ebx + 0x424]
xor ecx, ecx
mov dl, 3
call fcn.00430df8
test al, al
je 0x45b236
jmp 0x45af7a
push 0
push 0
mov ax, word [ebx + 0x424]
xor ecx, ecx
mov dl, 7
call fcn.00430df8
test al, al
je 0x45b236
fild qword [ebx + 0x14c]
fadd dword [0x45b244]
mov eax, dword [ebx + 0xc]
fild qword [eax + 0x10]
fcompp
fnstsw ax
sahf
seta al
test al, al
je 0x45b103
fild qword [ebx + 0x14c]
fadd dword [0x45b244]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, ebx
call fcn.0045aad8
test al, al
jne 0x45afc6
mov eax, ebx
call fcn.004739dc
jmp 0x45b236
mov ax, 0xf9
call fcn.004aa600
mov edx, eax
mov eax, dword [0x4bec98]
call fcn.004b81b0
mov eax, dword [0x4bec98]
mov dl, 2
call fcn.004ad8ec
mov eax, dword [0x4bead4]
mov eax, dword [eax]
mov ecx, 0x8000000
mov edx, 0x80000000
call fcn.004adc9c
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x1a0]
call dword [edx + 0x10]
mov eax, dword [ebx + 0x144]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x148]
mov dword [esp + 0x14], eax
mov eax, 0xe000
call fcn.00402504
mov edi, eax
push 0xe000
push edi
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll__hread
mov esi, eax
mov dword [esp + 0x18], esi
xor eax, eax
mov dword [esp + 0x1c], eax
fild qword [esp + 0x18]
fild qword [esp + 8]
faddp st(1)
fistp qword [esp + 8]
wait
push esi
lea edx, [esp + 0x14]
mov eax, dword [ebx + 0xc]
mov ecx, edi
call fcn.0041c768
mov ebp, eax
mov eax, dword [0x4be354]
inc word [eax]
mov eax, dword [0x4be354]
movzx eax, word [eax]
mov ecx, 0x32
xor edx, edx
div ecx
test edx, edx
jne 0x45b095
call fcn.004ae0a4
mov eax, dword [ebx + 0xc]
fild qword [eax + 0x10]
fild qword [ebx + 0x14c]
fsubp st(1)
fild qword [esp + 8]
fmul dword [0x45b248]
fdivrp st(1)
call fcn.004028e8
mov edx, dword [0x4be344]
mov byte [edx], al
mov eax, dword [0x4be344]
mov al, byte [eax]
mov edx, dword [0x4be8d0]
cmp al, byte [edx]
je 0x45b0d2
call fcn.004b5c48
test esi, esi
je 0x45b0de
cmp esi, ebp
je 0x45b037
mov eax, edi
call fcn.00402524
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x4bead4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_DeleteFileA_1
call fcn.004adbe0
jmp 0x45b12b
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x1a0]
call dword [edx + 0x10]
test al, al
je 0x45b236
mov eax, dword [ebx + 0x144]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x148]
mov dword [esp + 0x14], eax
push dword [ebx + 0x148]
push dword [ebx + 0x144]
mov eax, dword [ebx + 0xc]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00418ac4
push dword [esp + 0x14]
push dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
call fcn.00419424
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x1a0]
call dword [edx + 0x14]
xor eax, eax
mov dword [0x4c13dc], eax
mov dword [0x4c13e0], eax
mov dword [0x4bdb7c], 0xffffffff
mov dword [0x4bdb80], 0xffffffff
mov eax, ebx
call fcn.0046fbdc
fadd dword [0x45b244]
mov eax, dword [ebx + 0xc]
fild qword [eax + 0x10]
fcompp
fnstsw ax
sahf
jae 0x45b1b9
mov eax, dword [ebx + 0xc]
fild qword [eax + 0x10]
fsub dword [0x45b244]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, ebx
xor edx, edx
call fcn.0046fc28
mov esi, dword [ebx + 0xc]
mov eax, ebx
call fcn.0044dab4
mov byte [esi + 0xd2], 0
xor eax, eax
mov dword [ebx + 0x144], eax
mov dword [ebx + 0x148], eax
mov dword [ebx + 0x14c], 0xffffffff
mov dword [ebx + 0x150], 0xffffffff
mov eax, ebx
call fcn.0046ebc8
mov eax, dword [ebx + 0xc]
fild qword [eax + 0x10]
fsub dword [0x45b244]
fild qword [ebx + 0x3c]
fcompp
fnstsw ax
sahf
jbe 0x45b225
mov eax, dword [ebx + 0xc]
fild qword [eax + 0x10]
fsub dword [0x45b244]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, ebx
xor edx, edx
call fcn.0046fc28
mov eax, ebx
call fcn.0046ee24
mov byte [esp + 1], 1
call fcn.00427d08
mov al, byte [esp + 1]
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret