Function at 0x452364
Capabilities:
Delete file

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffcb4
mov byte [esp], al
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
xor eax, eax
mov al, byte [esp]
add ax, 0x87
dec eax
call fcn.0040bc04
push eax
mov ax, 0x5f
call fcn.0040bc04
pop edx
call fcn.0040f5a0
mov ax, 0x5e
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48da44]
mov ecx, 0x15
call fcn.00411d84
test al, al
je 0x4527fc
mov bl, 1
lea ebp, [esp + 0x48]
lea esi, [esp + 4]
lea eax, [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [0x48d980]
mov byte [eax], bl
call fcn.0040f494
mov eax, dword [0x48d2c4]
mov byte [eax], 1
mov al, 9
call fcn.0042aef4
test al, al
jne 0x452405
cmp bl, 2
jne 0x4527fc
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4527fc
mov edx, dword [0x48d370]
mov eax, ebp
call fcn.00405c48
mov eax, dword [0x48d370]
mov ecx, 0x8000000
mov edx, 0x80000000
call fcn.0040eba4
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x452454
mov edx, dword [0x48d370]
mov ax, 1
call fcn.0040de10
cmp bl, 2
jne 0x4527fc
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4527fc
mov eax, dword [esi]
call fcn.00412ed4
mov eax, dword [esp + 0x18]
fistp qword [eax]
wait
inc ebx
add dword [esp + 0x18], 8
add esi, 4
add ebp, 0x100
cmp bl, 3
jne 0x4523ce
fild qword [esp + 0x20]
fild qword [esp + 0x28]
fcompp
fnstsw ax
sahf
je 0x4524a1
mov ax, 0x60
call fcn.0040bc04
mov edx, 3
call fcn.00411d74
jmp 0x4527fc
cmp byte [esp], 2
jne 0x4524d4
push dword [esp + 0x24]
push dword [esp + 0x24]
push 0
push 2
call fcn.0040fe38
test eax, eax
je 0x4524d4
mov ax, 0xc8
call fcn.0040bc04
mov edx, 3
call fcn.00411d74
jmp 0x4527fc
fild qword [esp + 0x20]
fild qword [esp + 0x28]
faddp st(1)
add esp, 0xfffffff8
fistp qword [esp]
wait
xor eax, eax
call fcn.0040f3c4
test al, al
je 0x4527fc
mov eax, 1
call fcn.0040f448
mov al, 0x15
call fcn.0042aef4
test al, al
jne 0x452522
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4527fc
mov ax, 0x61
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48d948]
call fcn.00405c48
mov eax, dword [0x48d948]
xor edx, edx
call fcn.0040e810
mov edx, dword [0x48d370]
lea eax, [esp + 0x248]
call fcn.00405c48
push 0
mov eax, dword [0x48d370]
push eax
call sub.kernel32.dll__lcreat
mov dword [esp + 0xc], eax
mov bl, 3
lea esi, [esp + 0x3c]
mov eax, 0xe000
call fcn.004024e8
mov dword [esi], eax
add esi, 4
dec bl
jne 0x45256c
mov bl, 2
lea edi, [esp + 4]
lea ebp, [esp + 0x3c]
lea esi, [esp + 0x30]
push 0x7000
mov eax, dword [ebp]
push eax
mov eax, dword [edi]
push eax
call sub.kernel32.dll__hread
mov dword [esi], eax
add esi, 4
add ebp, 4
add edi, 4
dec bl
jne 0x45258d
mov eax, dword [esp + 0x30]
mov dword [esp + 0x348], eax
fild dword [esp + 0x348]
fild qword [esp + 0x10]
faddp st(1)
fistp qword [esp + 0x10]
wait
cmp byte [esp], 1
jne 0x452614
mov dx, word [esp + 0x30]
test dx, dx
jbe 0x452675
mov ax, 1
movzx ecx, ax
mov ebx, dword [esp + 0x3c]
mov bl, byte [ebx + ecx - 1]
push ebx
movzx ebx, ax
mov esi, ebx
add esi, esi
mov edi, dword [esp + 0x48]
pop ebx
mov byte [edi + esi - 2], bl
mov ebx, dword [esp + 0x40]
mov cl, byte [ebx + ecx - 1]
push ecx
pop ecx
mov byte [edi + esi - 1], cl
inc eax
dec dx
jne 0x4525e2
jmp 0x452675
mov edx, eax
sar edx, 1
jns 0x45261d
adc edx, 0
test dx, dx
jbe 0x452675
mov ax, 1
movzx ecx, ax
add ecx, ecx
mov ebx, dword [esp + 0x3c]
mov bl, byte [ebx + ecx - 2]
push ebx
movzx ebx, ax
mov esi, ebx
shl esi, 2
mov edi, dword [esp + 0x48]
pop ebx
mov byte [edi + esi - 4], bl
mov ebx, dword [esp + 0x3c]
mov bl, byte [ebx + ecx - 1]
push ebx
pop ebx
mov byte [edi + esi - 3], bl
mov ebx, dword [esp + 0x40]
mov bl, byte [ebx + ecx - 2]
push ebx
pop ebx
mov byte [edi + esi - 2], bl
mov ebx, dword [esp + 0x40]
mov cl, byte [ebx + ecx - 1]
push ecx
pop ecx
mov byte [edi + esi - 1], cl
inc eax
dec dx
jne 0x452626
mov eax, dword [esp + 0x30]
add eax, eax
push eax
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll__hwrite
mov ebx, eax
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x30]
add eax, eax
cmp ebx, eax
jge 0x4526ad
lea edx, [esp + 0x248]
mov ax, 5
call fcn.0040de10
jmp 0x452716
fild qword [esp + 0x10]
fmul dword [0x452808]
fild qword [esp + 0x20]
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 0x4526e0
call fcn.00414c64
call fcn.0040f494
mov eax, dword [0x48d9fc]
cmp byte [eax], 0
je 0x452708
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
lea eax, [esp + 0x248]
push eax
call sub.kernel32.dll_DeleteFileA_1
jmp 0x452716
cmp dword [esp + 0x30], 0x7000
jge 0x45257f
mov bl, 3
lea esi, [esp + 0x3c]
mov eax, dword [esi]
call fcn.00402508
add esi, 4
dec bl
jne 0x45271c
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040eb04
mov eax, dword [0x48d9fc]
cmp byte [eax], 0
jne 0x45277d
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 eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_FlushFileBuffers
call fcn.0040eb04
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x48d9fc]
cmp byte [eax], 0
jne 0x4527fc
fild qword [esp + 0x10]
fmul dword [0x45280c]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.00412e40
mov edx, eax
mov eax, dword [0x48d830]
call fcn.00405c48
mov ax, 0x87
call fcn.0040bc04
push eax
mov eax, dword [0x48d830]
push eax
call sub.kernel32.dll_lstrcatA
mov ax, 0x1eb
call fcn.0040bc04
lea edx, [esp + 0x248]
call fcn.0040f5a0
mov edx, dword [0x48d830]
mov eax, dword [0x48da44]
call fcn.0040f5a0
mov eax, dword [0x48da44]
mov edx, 4
call fcn.00411d74
add esp, 0x34c
pop ebp
pop edi
pop esi
pop ebx
ret