Function at 0x45bc08
Capabilities:
Delete file

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov byte [esp], dl
mov ebx, eax
mov byte [esp + 1], 0
cmp byte [ebx + 0x438], 0
jne 0x45bed7
mov eax, ebx
call fcn.0046fbdc
mov eax, dword [0x4be564]
fistp qword [eax]
wait
cmp byte [esp], 0
jne 0x45bcf6
mov eax, dword [0x4be564]
fild qword [eax]
fadd dword [0x45bee4]
mov eax, dword [ebx + 0xc]
fild qword [eax + 0x10]
fcompp
fnstsw ax
sahf
jne 0x45bcb0
mov eax, dword [0x4be564]
push dword [eax + 4]
push dword [eax]
call fcn.004af438
mov edx, eax
mov eax, dword [0x4beb38]
call fcn.004b81b0
mov ax, 0x2b
call fcn.004aa600
mov edx, dword [0x4beb38]
call fcn.004ae1b0
mov eax, dword [0x4bedb0]
mov edx, 2
call fcn.004b12a8
cmp al, 1
jne 0x45bcb0
mov eax, dword [0x4be564]
fild qword [eax]
fadd dword [0x45bee4]
mov eax, dword [0x4be564]
fistp qword [eax]
wait
mov eax, dword [0x4be564]
push dword [eax + 4]
push dword [eax]
call fcn.004af438
mov edx, eax
mov eax, dword [0x4beb38]
call fcn.004b81b0
mov ax, 0x2c
call fcn.004aa600
mov edx, dword [0x4beb38]
call fcn.004ae1b0
mov eax, dword [0x4bedb0]
mov edx, 0x13
call fcn.004b12a8
test al, al
je 0x45bed7
mov eax, ebx
call fcn.0044f5d0
test al, al
je 0x45bed7
mov eax, dword [ebx + 0xc]
mov dl, 1
call fcn.00419834
test al, al
je 0x45bed7
mov eax, dword [0x4be564]
fild qword [eax]
mov eax, dword [ebx + 0xc]
fild qword [eax + 0x10]
fcompp
fnstsw ax
sahf
jbe 0x45bd4b
mov eax, dword [0x4be564]
push dword [eax + 4]
push dword [eax]
mov eax, ebx
call fcn.0045aad8
test al, al
je 0x45bed7
mov byte [esp + 0x24], 1
jmp 0x45bd50
mov byte [esp + 0x24], 0
mov eax, ebx
xor edx, edx
call fcn.0045b620
mov esi, eax
test esi, esi
jle 0x45bebe
cmp byte [esp + 0x24], 0
je 0x45bea8
mov eax, dword [0x4bead4]
mov eax, dword [eax]
mov ecx, 0x8000000
mov edx, 0x80000000
call fcn.004adc9c
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x1a0]
call dword [edx + 0x10]
mov ax, 0xf8
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 [esp + 0x20]
call fcn.004b22b8
fistp qword [esp + 0x10]
wait
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], esi
fild dword [esp + 0x28]
mov eax, dword [0x4be564]
fild qword [eax]
faddp st(1)
fistp qword [esp + 0x18]
wait
mov eax, 0xe000
call fcn.00402504
mov edi, eax
push 0xe000
push edi
mov eax, dword [esp + 0x28]
push eax
call sub.kernel32.dll__hread
mov esi, eax
mov dword [esp + 0x28], esi
fild dword [esp + 0x28]
fild qword [esp + 8]
faddp st(1)
fistp qword [esp + 8]
wait
push esi
lea edx, [esp + 0x1c]
mov eax, dword [ebx + 0xc]
mov ecx, edi
call fcn.0041c768
mov ebp, eax
fild qword [esp + 8]
fild qword [esp + 0x10]
fdivp st(1)
fmul dword [0x45bee8]
call fcn.004028e8
mov edx, dword [0x4be344]
mov byte [edx], al
mov eax, dword [0x4be354]
inc word [eax]
mov eax, dword [0x4be354]
movzx eax, word [eax]
mov ecx, 0x19
xor edx, edx
div ecx
test edx, edx
jne 0x45be64
call fcn.004ae0a4
mov eax, dword [0x4be344]
mov al, byte [eax]
mov edx, dword [0x4be8d0]
cmp al, byte [edx]
je 0x45be7a
call fcn.004b5c48
test esi, esi
je 0x45be86
cmp esi, ebp
je 0x45bdef
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x1a0]
call dword [edx + 0x14]
mov eax, edi
call fcn.00402524
mov eax, dword [esp + 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004adbe0
mov eax, ebx
call fcn.0044dab4
call fcn.00427d08
mov eax, dword [ebx + 0xc]
mov byte [eax + 0xd2], 0
mov eax, dword [0x4bead4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_DeleteFileA_1
mov eax, ebx
call fcn.0046ee24
mov byte [esp + 1], 1
mov al, byte [esp + 1]
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret