Function at 0x5f9da0
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6553c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x6f7b78]
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov word [esp + 0x3c], bx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x60]
xor edi, edi
cmp eax, ebx
mov byte [esp + 0x74], 1
jle 0x5f9e43
lea eax, [esp + 0x34]
push 1
lea ecx, [esp + 0x10]
push eax
push ecx
push edi
mov ecx, esi
call fcn.005f9040
test al, al
je 0x5f9e3b
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x5f9e1b
lea eax, [esp + 0x3c]
push eax
call fcn.00609a4e
add esp, 4
test eax, eax
jbe 0x5f9e3b
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x5f9e34
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x60]
inc edi
cmp edi, eax
jl 0x5f9df7
lea ecx, [esi + 0x70]
call fcn.005f8410
lea ecx, [esi + 0x50]
call fcn.005f89e0
lea ecx, [esi + 8]
mov dword [esi + 0x60], ebx
call fcn.005fe970
xor ecx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ecx
mov word [esp + 0x14], bx
mov eax, dword [esi + 0x64]
mov byte [esp + 0x74], 2
cmp eax, ebx
jne 0x5f9e7c
lea eax, [esi + 0x68]
mov edx, str._s.cdb2
test edx, edx
je 0x5f9f67
cmp eax, ebx
je 0x5f9f67
push ebp
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], bx
call fcn.00401f20
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 3
call fcn.00401070
lea ecx, [esp + 0x2c]
call fcn.004027c0
push ebx
push str._s.cdb2
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 4
call fcn.004027e0
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x20]
call fcn.00401f10
push eax
call fcn.00609a4e
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.00622acb
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x14], edi
je 0x5f9f46
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x20]
call fcn.00401f10
push eax
lea ecx, [esp + 0x30]
call fcn.00401f10
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.006099de
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00609a4e
add esp, 0x14
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 3
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 2
call fcn.00401070
mov ecx, dword [esp + 0x14]
pop ebp
cmp ecx, ebx
mov eax, ecx
jne 0x5f9f71
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 1
call fcn.00401070
lea ecx, [esp + 0xc]
mov byte [esp + 0x74], bl
call fcn.00622d8a
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], 8
call fcn.00622d8a
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 7
call fcn.00622d8a
lea ecx, [esp + 0x44]
mov byte [esp + 0x74], 6
call fcn.00622d8a
lea ecx, [esp + 0x38]
mov byte [esp + 0x74], 5
call fcn.00401070
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret