Function at 0x44f290
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
cmp dword [eax + 8], 0
jne 0x44f2a9
xor eax, eax
jmp 0x44f657
call fcn.0049b820
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x14]
ja 0x44f2c3
xor eax, eax
jmp 0x44f657
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0x38], 0
jne 0x44f32c
lea ecx, [ebp - 0xc]
call fcn.00418350
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0xc]
push edx
push str.pendant__d_once
lea eax, [ebp - 0xc]
push eax
call fcn.00418ae0
add esp, 0xc
push 0
lea ecx, [ebp - 0xc]
call fcn.0044ea20
push eax
push 0x50f92c
call fcn.0049cdd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x44f324
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0xc]
call fcn.004335b0
mov eax, dword [ebp - 0x5c]
jmp 0x44f657
lea ecx, [ebp - 0xc]
call fcn.004335b0
mov ecx, dword [ebp - 0x70]
cmp dword [ecx + 0x44], 0
jbe 0x44f3ef
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.00418350
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0xc]
push eax
push 0x5129a8
lea ecx, [ebp - 0x10]
push ecx
call fcn.00418ae0
add esp, 0xc
push 0
lea ecx, [ebp - 0x10]
call fcn.0044ea20
push eax
push 0x50f92c
call fcn.0049cdd0
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x44f3e7
lea edx, [ebp - 0x38]
push edx
call fcn.00444510
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00444530
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x38]
call fcn.00444740
lea ecx, [ebp - 0x2c]
call fcn.00450540
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x44]
imul edx, edx, 0x18
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], 0
fild qword [ebp - 0x78]
fcompp
fnstsw ax
test ah, 0x41
jne 0x44f3e7
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x10]
call fcn.004335b0
mov eax, dword [ebp - 0x60]
jmp 0x44f657
lea ecx, [ebp - 0x10]
call fcn.004335b0
mov ecx, dword [ebp - 0x70]
add ecx, 0x18
call fcn.00418600
movzx eax, al
test eax, eax
je 0x44f408
xor eax, eax
jmp 0x44f657
mov ecx, dword [ebp - 0x70]
add ecx, 0x28
call fcn.00418600
movzx ecx, al
test ecx, ecx
je 0x44f421
xor eax, eax
jmp 0x44f657
mov ecx, dword [ebp - 0x70]
add ecx, 0x3c
call fcn.0047ef80
test eax, eax
je 0x44f563
lea ecx, [ebp - 0x54]
call fcn.00444840
push 0x5129ec
lea ecx, [ebp - 0x64]
call fcn.0040f510
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 0x3c
push ecx
call fcn.0049b000
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.004335b0
lea ecx, [ebp - 0x3c]
call fcn.00418350
lea ecx, [ebp - 0x58]
call fcn.00418350
lea ecx, [ebp - 0x54]
call fcn.0043c600
test eax, eax
je 0x44f54b
push 0
lea ecx, [ebp - 0x54]
call fcn.0048aac0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00418390
lea ecx, [ebp - 0x54]
call fcn.0043c600
cmp eax, 1
jbe 0x44f4bb
push 1
lea ecx, [ebp - 0x54]
call fcn.0048aac0
push eax
lea ecx, [ebp - 0x58]
call fcn.00418390
push 0x50d6f8
lea ecx, [ebp - 0x3c]
call fcn.0044ea20
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x44f510
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.0044f870
test eax, eax
je 0x44f50e
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x58]
call fcn.004335b0
lea ecx, [ebp - 0x3c]
call fcn.004335b0
lea ecx, [ebp - 0x54]
call fcn.00444870
mov eax, dword [ebp - 0x68]
jmp 0x44f657
jmp 0x44f54b
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.0044fa40
test eax, eax
je 0x44f54b
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x58]
call fcn.004335b0
lea ecx, [ebp - 0x3c]
call fcn.004335b0
lea ecx, [ebp - 0x54]
call fcn.00444870
mov eax, dword [ebp - 0x6c]
jmp 0x44f657
lea ecx, [ebp - 0x58]
call fcn.004335b0
lea ecx, [ebp - 0x3c]
call fcn.004335b0
lea ecx, [ebp - 0x54]
call fcn.00444870
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0x40], 0
jne 0x44f588
mov ecx, dword [ebp - 0x70]
add ecx, 0x28
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.00450280
test eax, eax
jne 0x44f586
xor eax, eax
jmp 0x44f657
jmp 0x44f5b2
mov edx, dword [ebp - 0x70]
cmp dword [edx + 0x40], 1
jne 0x44f5b2
mov ecx, dword [ebp - 0x70]
call fcn.0044fc30
mov ecx, dword [ebp - 0x70]
add ecx, 0x4c
call fcn.00418600
movzx eax, al
test eax, eax
je 0x44f5b2
xor eax, eax
jmp 0x44f657
push 0
mov ecx, dword [ebp - 0x70]
call fcn.0044fef0
mov ecx, dword [ebp - 0x70]
add ecx, 0x2c
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.004501d0
test eax, eax
jne 0x44f604
mov ecx, dword [ebp - 0x70]
add ecx, 0x2c
call fcn.0047ef80
test eax, eax
je 0x44f5f0
mov ecx, dword [ebp - 0x70]
add ecx, 0x2c
call fcn.0044ea20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x52022c
mov ecx, dword [ebp - 0x70]
add ecx, 0x2c
call fcn.0040f550
xor eax, eax
jmp 0x44f657
push 1
mov ecx, dword [ebp - 0x70]
call fcn.0044fef0
mov edx, dword [ebp - 0x70]
add edx, 0x30
push edx
mov ecx, dword [ebp - 0x70]
call fcn.004501d0
test eax, eax
jne 0x44f652
mov ecx, dword [ebp - 0x70]
add ecx, 0x30
call fcn.0047ef80
test eax, eax
je 0x44f642
mov ecx, dword [ebp - 0x70]
add ecx, 0x30
call fcn.0044ea20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x52022c
mov ecx, dword [ebp - 0x70]
add ecx, 0x30
call fcn.0040f550
mov eax, 1
mov esp, ebp
pop ebp
ret