Function at 0x44f894
Capabilities:
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov byte [ebp - 1], al
mov byte [ebp - 9], 0
cmp byte [ebp + 8], 0
je 0x44f93e
mov eax, dword [0x4be570]
cmp byte [eax], 0
jne 0x44f93e
mov dl, 0xa
mov ax, 0xd
call fcn.0048841c
test eax, eax
je 0x4500a0
mov ecx, dword [0x4beb38]
xor edx, edx
mov al, byte [ebp - 1]
call fcn.0049e530
test ebx, ebx
je 0x44f913
push 0x4500ac
mov eax, dword [0x4beb38]
push eax
call sub.kernel32.dll_lstrcatA
push ebx
mov eax, dword [0x4beb38]
push eax
call sub.kernel32.dll_lstrcatA
push 0x4500b0
mov eax, dword [0x4beb38]
push eax
call sub.kernel32.dll_lstrcatA
mov ax, 0x1d
call fcn.004aa600
mov edx, dword [0x4beb38]
call fcn.004ae1b0
mov eax, dword [0x4bedb0]
mov edx, 0x77
call fcn.004b12a8
test al, al
je 0x4500a0
movsx eax, byte [ebp - 1]
add eax, 0x40
mov byte [ebp - 0x35], al
mov al, byte [ebp - 0x35]
call fcn.004127c8
call fcn.00412768
fistp qword [ebp - 0x18]
wait
fild qword [ebp - 0x18]
fcomp dword [0x4500b4]
fnstsw ax
sahf
je 0x44f976
lea eax, [ebp - 0x240]
call fcn.004b1914
test al, al
je 0x44f98e
mov ax, 0x1c
call fcn.004aa600
mov edx, 3
call fcn.004b12a8
jmp 0x4500a0
movsx eax, byte [ebp - 1]
mov edx, dword [0x4be4fc]
lea edx, [edx + eax - 1]
lea ecx, [ebp - 0x34]
mov al, byte [ebp - 1]
call fcn.0049e43c
test al, al
je 0x4500a0
cmp byte [ebp - 0x34], 2
jne 0x44f9cd
mov ax, 0x2fb
call fcn.004aa600
mov edx, 3
call fcn.004b12a8
jmp 0x4500a0
cmp byte [ebp + 8], 0
jne 0x44fa07
mov eax, dword [0x4be784]
cmp byte [eax + 0xa3e], 0
jne 0x44fa07
mov ax, 0x2f4
call fcn.004aa600
mov edx, 0x24
call fcn.004b12a8
mov eax, dword [0x4bec68]
mov al, byte [eax]
mov edx, dword [0x4be784]
mov byte [edx + 0xa3e], al
cmp byte [ebp + 8], 0
je 0x44fa1a
call fcn.0049ea10
test al, al
je 0x4500a0
movsx eax, byte [ebp - 1]
mov edx, dword [0x4be4fc]
mov al, byte [edx + eax - 1]
cmp al, 1
je 0x44fa60
movsx edx, byte [ebp - 1]
mov ecx, dword [0x4be4fc]
cmp al, 2
je 0x44fa60
mov dword [ebp - 0x20], 0x7fffffff
xor eax, eax
mov dword [ebp - 0x1c], eax
fild qword [ebp - 0x20]
fmul dword [0x4500b8]
fild dword [ebp - 8]
fsubp st(1)
fadd dword [0x4500b8]
fistp qword [ebp - 0x20]
wait
jmp 0x44fa6c
mov dword [ebp - 0x20], 0x40000000
xor eax, eax
mov dword [ebp - 0x1c], eax
fild qword [ebp - 0x18]
fild qword [ebp - 0x20]
fcompp
fnstsw ax
sahf
jae 0x44fa8a
movsx eax, byte [ebp - 1]
mov edx, dword [0x4be4fc]
cmp byte [edx + eax - 1], 0xff
jne 0x44fa9f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 1
jmp 0x44fab6
fild qword [ebp - 0x18]
fsub dword [0x4500bc]
fild qword [ebp - 0x20]
fdivp st(1)
call fcn.004028f4
inc eax
mov dword [ebp - 0x2c], eax
cmp byte [ebp + 8], 0
je 0x44fae5
mov ax, 0xfb
call fcn.004aa600
mov edx, eax
mov eax, dword [0x4bec98]
call fcn.004b81b0
mov eax, dword [0x4bec98]
xor edx, edx
call fcn.004ad8ec
mov eax, dword [0x4bef10]
mov byte [eax], 1
mov eax, dword [ebp - 0x2c]
test eax, eax
jle 0x44ff5f
mov dword [ebp - 0x3c], eax
mov edi, 1
mov ax, 0x267
call fcn.004aa600
mov edx, eax
lea eax, [ebp - 0x240]
call fcn.004b81b0
mov al, byte [ebp - 0x35]
mov byte [ebp - 0x240], al
cmp dword [ebp - 0x2c], 1
jle 0x44fc08
push 0x4500ac
lea eax, [ebp - 0x240]
push eax
call sub.kernel32.dll_lstrcatA
mov dword [ebp - 0x264], edi
fild dword [ebp - 0x264]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov ax, 0x1dd
call fcn.004aa600
call fcn.004ae0e4
fild dword [ebp - 0x2c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [0x4bedb0]
call fcn.004ae0e4
mov eax, dword [0x4bedb0]
push eax
lea eax, [ebp - 0x240]
push eax
call sub.kernel32.dll_lstrcatA
push 0x4500b0
lea eax, [ebp - 0x240]
push eax
call sub.kernel32.dll_lstrcatA
mov dword [ebp - 0x264], edi
fild dword [ebp - 0x264]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov ax, 0x1dd
call fcn.004aa600
call fcn.004ae0e4
fild dword [ebp - 0x2c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [0x4bedb0]
call fcn.004ae0e4
mov ax, 0xfb
call fcn.004aa600
mov edx, eax
mov eax, dword [0x4bec98]
call fcn.004b81b0
push 0x4500c0
mov eax, dword [0x4bec98]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [0x4bedb0]
push eax
mov eax, dword [0x4bec98]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [0x4bec98]
push eax
mov eax, dword [0x4bee9c]
mov eax, dword [eax]
push eax
call sub.user32.dll_SetWindowTextA
cmp byte [ebp + 8], 0
jne 0x44fc20
push 0x7f02
push 0
call sub.user32.dll_LoadCursorA
push eax
call sub.user32.dll_SetCursor
lea eax, [ebp - 0x240]
call fcn.004adcb4
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44fc46
lea edx, [ebp - 0x240]
mov ax, 0xa
call fcn.004acdac
jmp 0x4500a0
mov eax, dword [0x4be450]
cmp byte [eax], 0
je 0x44fcd8
mov al, byte [ebp - 1]
call fcn.004ab84c
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll_GetFileAttributesA
test ah, 8
je 0x44fcd8
mov word [ebp - 0x32], 0
push 3
xor ecx, ecx
mov dx, 0x10
mov eax, 9
call fcn.00413980
mov esi, eax
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 2
lea eax, [ebp - 0x32]
push eax
push esi
push ebx
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x44fcd8
call sub.kernel32.dll_GetLastError_1
call fcn.004ae200
mov eax, dword [0x4bedb0]
mov edx, 1
call fcn.004b12a8
mov ax, 0x2fb
call fcn.004aa600
mov edx, 3
call fcn.004b12a8
jmp 0x4500a0
cmp byte [ebp + 8], 0
je 0x44fe38
mov byte [ebp - 0x33], 0
push 1
lea eax, [ebp - 0x33]
push eax
push ebx
call sub.kernel32.dll__hwrite
push ebx
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [0x4be538]
lea eax, [ebp - 0x140]
call fcn.004b81b0
lea edx, [ebp - 0x240]
mov eax, dword [0x4be538]
call fcn.004b81b0
mov eax, dword [0x4bea14]
mov byte [eax], 1
mov eax, dword [0x4beca4]
mov byte [eax], 1
mov eax, dword [0x4befb4]
mov byte [eax], 1
cmp byte [ebp + 8], 0
je 0x44fd3f
mov eax, dword [0x4becbc]
mov byte [eax], 1
call fcn.0044afac
mov ebx, eax
mov eax, dword [0x4becbc]
mov byte [eax], 0
test bx, bx
jle 0x4500a0
lea edx, [ebp - 0x140]
mov eax, dword [0x4be538]
call fcn.004b81b0
movsx eax, bx
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
xor edx, edx
mov dword [eax + 0x144], edx
mov dword [eax + 0x148], edx
cmp dword [ebp - 0x2c], 1
je 0x44fd93
cmp edi, dword [ebp - 0x2c]
jge 0x44fda8
fild qword [ebp - 0x20]
fsub dword [0x4500bc]
mov eax, dword [ebp - 0x40]
fistp qword [eax + 0x14c]
wait
jmp 0x44fdf4
mov al, byte [ebp - 0x35]
call fcn.004127c8
call fcn.00412768
fsub dword [0x4500bc]
mov eax, dword [ebp - 0x40]
fistp qword [eax + 0x14c]
wait
mov eax, dword [ebp - 0x40]
movsx eax, byte [eax + 0x442]
mov edx, dword [0x4be4fc]
cmp byte [edx + eax - 1], 0xff
je 0x44fdf4
fild dword [ebp - 8]
mov eax, dword [ebp - 0x40]
fild qword [eax + 0x14c]
faddp st(1)
mov eax, dword [ebp - 0x40]
fistp qword [eax + 0x14c]
wait
mov esi, 1
mov ebx, dword [0x4be784]
add ebx, 0x1d7a
cmp byte [ebx], 0
je 0x44fe1e
mov ecx, esi
mov eax, dword [ebp - 0x40]
xor edx, edx
call fcn.00467cc4
test al, al
je 0x44ff55
mov eax, dword [0x4bed48]
cmp byte [eax], 0
jne 0x44ff55
inc esi
inc ebx
cmp esi, 4
jne 0x44fe05
jmp 0x44ff55
cmp dword [ebp - 0x2c], 1
je 0x44fe43
cmp edi, dword [ebp - 0x2c]
jge 0x44fe53
mov eax, dword [0x4be4c4]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
cmp edi, dword [ebp - 0x2c]
jne 0x44fe73
mov al, byte [ebp - 0x35]
call fcn.004127c8
call fcn.00412768
fsub dword [0x4500bc]
mov eax, dword [0x4be4c4]
fistp qword [eax]
wait
push 0
mov eax, dword [0x4be4c4]
call fcn.004af014
push eax
mov eax, dword [0x4be4c4]
push dword [eax + 4]
push dword [eax]
call fcn.004af008
push eax
push ebx
call sub.kernel32.dll_SetFilePointer_1
push ebx
call sub.kernel32.dll_SetEndOfFile_1
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x44fef4
call sub.kernel32.dll_GetLastError_1
call fcn.004ae200
mov eax, dword [0x4bedb0]
mov edx, 1
call fcn.004b12a8
push ebx
call sub.kernel32.dll_CloseHandle_1
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
push eax
call sub.user32.dll_SetCursor
lea edx, [ebp - 0x240]
mov ax, 0xa
call fcn.004acdac
lea eax, [ebp - 0x240]
push eax
call sub.kernel32.dll_DeleteFileA_1
jmp 0x44ff5f
push ebx
call sub.kernel32.dll_CloseHandle_1
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
push eax
call sub.user32.dll_SetCursor
lea edx, [ebp - 0x240]
mov eax, dword [0x4be538]
call fcn.004b81b0
mov eax, dword [0x4be784]
cmp byte [eax + 0x18b9], 0
je 0x44ff34
mov eax, dword [0x4be47c]
mov byte [eax], 1
jmp 0x44ff3c
mov eax, dword [0x4bea14]
mov byte [eax], 1
mov eax, dword [0x4becbc]
mov byte [eax], 1
call fcn.0044afac
mov eax, dword [0x4becbc]
mov byte [eax], 0
mov byte [ebp - 9], 1
inc edi
dec dword [ebp - 0x3c]
jne 0x44faf8
mov eax, dword [0x4bef10]
mov byte [eax], 0
cmp byte [ebp + 8], 0
je 0x4500a0
mov al, byte [ebp - 0x35]
call fcn.004127c8
call fcn.00412768
fistp qword [ebp - 0x28]
wait
xor edi, edi
inc edi
mov eax, dword [0x4be754]
mov eax, dword [eax + edi*4 - 4]
mov dword [0x4c15b8], eax
cmp dword [0x4c15b8], 0
je 0x44ffc0
mov eax, dword [0x4c15b8]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0xa2], 0
je 0x44ffc0
push 0
push 0
push 0x10
mov eax, dword [0x4c15b8]
mov eax, dword [eax]
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [0x4be4ec]
movsx eax, word [eax]
cmp edi, eax
jne 0x44ff84
call fcn.004adbe0
fild qword [ebp - 0x28]
fcomp dword [0x4500b4]
fnstsw ax
sahf
jbe 0x450067
mov eax, dword [0x4bed48]
cmp byte [eax], 0
jne 0x450067
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.004b1e30
mov edx, dword [0x4bedb0]
mov eax, dword [0x4beb38]
call fcn.004b81b0
mov ax, 0x32d
call fcn.004aa600
mov edx, dword [0x4beb38]
call fcn.004ae1b0
mov edx, dword [0x4bedb0]
mov eax, dword [0x4beb38]
call fcn.004b81b0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004b1e30
mov edx, dword [0x4bedb0]
lea eax, [ebp - 0x260]
call fcn.004b81b0
lea edx, [ebp - 0x260]
mov eax, dword [0x4beb38]
call fcn.004ae1b0
mov eax, dword [0x4bedb0]
mov edx, 3
call fcn.004b12a8
mov eax, dword [0x4bed48]
cmp byte [eax], 0
jne 0x45009c
mov eax, dword [0x4be570]
cmp byte [eax], 0
jne 0x45009c
fild qword [ebp - 0x28]
fcomp dword [0x4500b4]
fnstsw ax
sahf
jne 0x45009c
mov ax, 0x13a
call fcn.004aa600
mov edx, 4
call fcn.004b12a8
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4