Function at 0x452810
Capabilities:
Delete file

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffcb8
mov byte [esp], al
mov esi, dword [0x48d370]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
xor eax, eax
mov al, byte [esp]
add ax, 0x87
dec eax
call fcn.0040bc04
push eax
mov ax, 0x63
call fcn.0040bc04
pop edx
call fcn.0040f5a0
mov ax, 0x62
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48da44]
mov ecx, 0x15
call fcn.00411d84
test al, al
je 0x452c5d
call fcn.0040f494
mov al, 0xf
call fcn.0042aef4
test al, al
je 0x452c5d
mov eax, esi
call fcn.00412f30
fistp qword [esp + 8]
wait
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
push 2
call fcn.0040fe38
test eax, eax
je 0x4528bb
mov ax, 0xc8
call fcn.0040bc04
mov edx, 3
call fcn.00411d74
jmp 0x452c5d
cmp byte [esp], 2
jne 0x4528fc
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
push 4
call fcn.0040fe38
test eax, eax
je 0x4528fc
push 0
push 4
mov ax, 0xc7
call fcn.0040bc04
call fcn.0040f4d4
mov eax, dword [0x48da44]
mov edx, 3
call fcn.00411d74
jmp 0x452c5d
fild qword [esp + 8]
fdiv dword [0x452c68]
add esp, 0xfffffff8
fistp qword [esp]
wait
xor eax, eax
call fcn.0040f3c4
test al, al
je 0x452c5d
mov edx, esi
lea eax, [esp + 0x48]
call fcn.00405c48
mov eax, dword [0x48d328]
mov byte [eax], 0
mov bl, 1
lea ebp, [esp + 0x148]
mov eax, dword [0x48d980]
mov byte [eax], bl
mov eax, 1
call fcn.0040f448
mov al, 0x16
call fcn.0042aef4
test al, al
je 0x452c5d
mov edx, esi
mov eax, ebp
call fcn.00405c48
inc ebx
add ebp, 0x100
cmp bl, 3
jne 0x452938
lea eax, [esp + 0x48]
mov ecx, 0x8000000
mov edx, 0x80000000
call fcn.0040eba4
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0xffffffff
jne 0x45299d
lea edx, [esp + 0x48]
mov ax, 1
call fcn.0040de10
jmp 0x452c5d
mov ax, 0x64
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48d948]
call fcn.00405c48
mov eax, dword [0x48d948]
xor edx, edx
call fcn.0040e810
mov bl, 1
lea esi, [esp + 0x148]
lea ebp, [esp + 0x14]
push 0
push esi
call sub.kernel32.dll__lcreat
mov dword [ebp], eax
inc ebx
add ebp, 4
add esi, 0x100
cmp bl, 3
jne 0x4529cb
mov bl, 1
lea esi, [esp + 0x3c]
mov eax, 0xe000
call fcn.004024e8
mov dword [esi], eax
inc ebx
add esi, 4
cmp bl, 4
jne 0x4529eb
mov byte [esp + 0x28], 0
push 0xe000
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll__hread
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fild qword [esp + 0x20]
faddp st(1)
fistp qword [esp + 0x20]
wait
cmp byte [esp], 1
jne 0x452a7a
mov edx, dword [esp + 0x30]
sar edx, 1
jns 0x452a3d
adc edx, 0
test dx, dx
jbe 0x452ae2
mov ax, 1
movzx ecx, ax
add ecx, ecx
mov ebx, dword [esp + 0x3c]
mov bl, byte [ebx + ecx - 2]
movzx esi, ax
mov edi, dword [esp + 0x40]
mov byte [edi + esi - 1], bl
mov ebx, dword [esp + 0x3c]
mov cl, byte [ebx + ecx - 1]
mov ebx, dword [esp + 0x44]
mov byte [ebx + esi - 1], cl
inc eax
dec dx
jne 0x452a4a
jmp 0x452ae2
mov edx, dword [esp + 0x30]
test edx, edx
jns 0x452a85
add edx, 3
sar edx, 2
test dx, dx
jbe 0x452ae2
mov ax, 1
movzx ecx, ax
shl ecx, 2
mov ebx, dword [esp + 0x3c]
mov bl, byte [ebx + ecx - 4]
movzx esi, ax
add esi, esi
mov edi, dword [esp + 0x40]
mov byte [edi + esi - 2], bl
mov ebx, dword [esp + 0x3c]
mov bl, byte [ebx + ecx - 3]
mov edi, dword [esp + 0x40]
mov byte [edi + esi - 1], bl
mov ebx, dword [esp + 0x3c]
mov bl, byte [ebx + ecx - 2]
mov edi, dword [esp + 0x44]
mov byte [edi + esi - 2], bl
mov ebx, dword [esp + 0x3c]
mov cl, byte [ebx + ecx - 1]
mov ebx, dword [esp + 0x44]
mov byte [ebx + esi - 1], cl
inc eax
dec dx
jne 0x452a91
mov bl, 1
lea edi, [esp + 0x14]
lea eax, [esp + 0x40]
mov dword [esp + 0x2c], eax
lea ebp, [esp + 0x34]
lea esi, [esp + 0x48]
mov eax, dword [esp + 0x30]
sar eax, 1
jns 0x452b03
adc eax, 0
push eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
push eax
mov eax, dword [edi]
push eax
call sub.kernel32.dll__hwrite
mov dword [ebp], eax
mov eax, dword [esp + 0x30]
sar eax, 1
jns 0x452b21
adc eax, 0
cmp eax, dword [ebp]
jle 0x452b33
mov edx, esi
mov ax, 5
call fcn.0040de10
jmp 0x452b9f
inc ebx
add esi, 0x100
add ebp, 4
add dword [esp + 0x2c], 4
add edi, 4
cmp bl, 3
jne 0x452af8
fild qword [esp + 0x20]
fmul dword [0x452c6c]
fild qword [esp + 8]
fdivp st(1)
call fcn.004028a0
mov edx, dword [0x48d1d8]
mov byte [edx], al
mov eax, dword [0x48d1d8]
mov al, byte [eax]
mov edx, dword [0x48d668]
cmp al, byte [edx]
je 0x452b7d
call fcn.00414c64
call fcn.0040f494
mov eax, dword [0x48d9fc]
cmp byte [eax], 0
jne 0x452b9a
cmp dword [esp + 0x30], 0x7000
jge 0x452a05
mov byte [esp + 0x28], 1
mov bl, 1
lea esi, [esp + 0x3c]
mov eax, dword [esi]
call fcn.00402508
inc ebx
add esi, 4
cmp bl, 4
jne 0x452ba5
mov eax, dword [esp + 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x48d9fc]
cmp byte [eax], 0
je 0x452bf9
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
lea eax, [esp + 0x148]
push eax
call sub.kernel32.dll_DeleteFileA_1
lea eax, [esp + 0x248]
push eax
call sub.kernel32.dll_DeleteFileA_1
jmp 0x452c5d
call fcn.0040eb04
mov ax, 0xfe
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48d948]
call fcn.00405c48
mov eax, dword [0x48d948]
mov dl, 2
call fcn.0040e810
mov bl, 1
lea esi, [esp + 0x14]
mov eax, dword [esi]
push eax
call sub.kernel32.dll_FlushFileBuffers
mov eax, dword [esi]
push eax
call sub.kernel32.dll_CloseHandle_1
inc ebx
add esi, 4
cmp bl, 3
jne 0x452c25
call fcn.0040eb04
cmp byte [esp + 0x28], 0
je 0x452c5d
mov ax, 0x13a
call fcn.0040bc04
mov edx, 4
call fcn.00411d74
add esp, 0x348
pop ebp
pop edi
pop esi
pop ebx
ret