Function at 0x45bba0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e091b
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x66c0e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, ecx
call fcn.004b5c24
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45bbed
push 0x80004005
call fcn.004047e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0xb0], edi
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebx], 1
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xb4], eax
jl 0x45bf34
cmp eax, 1
jl 0x45bf34
push 0x601150
push esi
call fcn.005bc9d4
mov edi, eax
add esp, 8
mov dword [ebp - 0xb8], edi
test edi, edi
jne 0x45bc73
mov eax, dword [ebp - 0xb0]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bc6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x45bf59
push 0x80
lea ecx, [ebp - 0x90]
push 0
push ecx
call fcn.005bb320
mov eax, dword [ebx]
movzx ecx, al
mov edx, eax
sar edx, 8
mov byte [ebp - 0x8c], dl
mov byte [ebp - 0x8b], cl
mov ecx, dword [ebp - 0xb4]
mov edx, ecx
sar edx, 8
add eax, 7
mov byte [ebp - 0x8a], dl
cdq
push edi
and edx, 7
mov byte [ebp - 0x89], cl
movzx ecx, byte [ebx + 4]
add eax, edx
push 1
lea edx, [ebp - 0x90]
sar eax, 3
push 0x10
push edx
mov dword [ebp - 0x90], 0x15352
mov dword [ebp - 0x88], 0x1000
mov byte [ebp - 0x84], cl
mov byte [ebp - 0x83], al
call fcn.005bfae8
xor esi, esi
add esp, 0x1c
mov dword [ebp - 0xbc], esi
cmp dword [ebp - 0xb4], esi
jle 0x45bf02
jmp 0x45bd10
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0xa9]
push eax
lea ecx, [ebp - 0xaa]
push ecx
push esi
mov ecx, ebx
call fcn.0045b650
test eax, eax
jle 0x45beef
push 0x80
lea edx, [ebp - 0x90]
push 0
push edx
call fcn.005bb320
movzx eax, byte [ebp - 0xaa]
movzx ecx, byte [ebp - 0xa9]
shl al, 4
or al, 1
mov byte [ebp - 0x90], al
mov byte [ebp - 0x8f], cl
mov ecx, dword [ebp - 0xd4]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, 0x64
imul dl
sub cl, al
movzx eax, byte [ebp - 0xd0]
mov byte [ebp - 0x8e], cl
movzx ecx, byte [ebp - 0xcc]
mov byte [ebp - 0x8d], al
mov byte [ebp - 0x8c], cl
mov ecx, dword [ebp - 0xc8]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, 0x64
imul dl
movzx edx, byte [ebp - 0xa8]
sub cl, al
movzx eax, byte [ebp - 0xc4]
mov byte [ebp - 0x8b], cl
movzx ecx, byte [ebp - 0xc0]
mov byte [ebp - 0x8a], al
movzx eax, byte [ebp - 0xa4]
mov byte [ebp - 0x88], dl
movzx edx, byte [ebp - 0x9c]
mov byte [ebp - 0x89], cl
movzx ecx, byte [ebp - 0xa0]
mov byte [ebp - 0x87], al
movzx eax, byte [ebp - 0x98]
mov byte [ebp - 0x85], dl
mov edx, dword [ebp - 0xb8]
push edx
mov byte [ebp - 0x86], cl
movzx ecx, byte [ebp - 0x94]
push 1
mov byte [ebp - 0x84], al
lea eax, [ebp - 0x90]
push 0xe
push eax
mov byte [ebp - 0x83], cl
call fcn.005bfae8
push 0x80
lea ecx, [ebp - 0x90]
push 0
push ecx
call fcn.005bb320
mov edi, dword [ebx]
add esp, 0x28
xor esi, esi
test edi, edi
jle 0x45bebe
test esi, esi
js 0x45bf2a
mov eax, dword [ebp - 0xb0]
cmp esi, dword [eax - 0xc]
jg 0x45bf2a
cmp byte [esi + eax], 0x31
jne 0x45beb9
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ecx, esi
and ecx, reloc.OLEAUT32.dll_VariantInit
lea eax, [ebp + eax - 0x90]
jns 0x45beb0
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, 0x80
sar edx, cl
or byte [eax], dl
inc esi
cmp esi, edi
jl 0x45be72
mov eax, dword [ebp - 0xb8]
push eax
lea eax, [edi + 7]
cdq
and edx, 7
add eax, edx
push 1
sar eax, 3
push eax
lea ecx, [ebp - 0x90]
push ecx
call fcn.005bfae8
mov esi, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xb8]
add esp, 0x10
inc esi
mov dword [ebp - 0xbc], esi
cmp esi, dword [ebp - 0xb4]
jl 0x45bd10
push edi
call fcn.005bcc87
mov eax, dword [ebp - 0xb0]
add eax, 0xfffffff0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x45bf4b
push 0x80070057
call fcn.004047e0
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bf57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bb30e
mov esp, ebp
pop ebp
ret 4