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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2d18
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x4d61d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x334]
push edi
push edi
mov ecx, eax
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x334], edi
mov dword [ebp - 0x330], edi
call fcn.0041b5f0
mov dword [ebp - 0x334], eax
mov dword [ebp - 4], 3
mov eax, esi
cmp dword [esi + 0x14], 8
push dword [ebp - 0x328]
jb 0x426bf9
mov eax, dword [esi]
push ecx
mov ecx, esp
mov dword [ebp - 0x32c], esp
push eax
call fcn.00412c90
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x334]
call fcn.004264e0
test eax, eax
jne 0x426c26
xor edi, edi
jmp 0x426e23
push 0x100
lea eax, [ebp - 0x112]
push 0
push eax
call fcn.004693b0
xor eax, eax
add esp, 0xc
mov word [ebp - 0x114], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x324]
movups xmmword [ebp - 0x324], xmm0
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x200
lea eax, [ebp - 0x314]
push 0
push eax
call fcn.004693b0
movzx eax, byte [ebp - 0x315]
push eax
movzx eax, byte [ebp - 0x316]
push eax
movzx eax, byte [ebp - 0x317]
push eax
movzx eax, byte [ebp - 0x318]
push eax
movzx eax, byte [ebp - 0x319]
push eax
movzx eax, byte [ebp - 0x31a]
push eax
movzx eax, byte [ebp - 0x31b]
push eax
movzx eax, byte [ebp - 0x31c]
push eax
movzx eax, word [ebp - 0x31e]
push eax
movzx eax, word [ebp - 0x320]
push eax
push dword [ebp - 0x324]
lea eax, [ebp - 0x314]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.00425d00
lea ecx, [ebp - 0x314]
add esp, 0x40
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426ce2
sub ecx, edx
lea eax, [ebp - 0x314]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x114]
push 0x80
push eax
call fcn.00470433
add esp, 0x10
call fcn.00406390
mov ecx, eax
test ecx, ecx
je 0x426e52
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x338], eax
mov byte [ebp - 4], 6
cmp dword [esi + 0x14], 8
jb 0x426d38
mov esi, dword [esi]
lea eax, [ebp - 0x114]
push eax
push esi
lea eax, [ebp - 0x338]
push 0x4ac5e0
push eax
call fcn.00405d00
mov esi, dword [ebp - 0x338]
add esp, 0x10
push 0
push 0x80
push 2
push 0
push 2
push 0x120116
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 0x32c], ecx
cmp ecx, 0xffffffff
je 0x426df9
lea edi, [ebp - 0x114]
lea edx, [edi + 2]
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x426d90
push 0
sub edi, edx
mov dword [ebp - 0x33c], 0
lea eax, [ebp - 0x33c]
sar edi, 1
push eax
push edi
lea eax, [ebp - 0x114]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x426dd4
cmp edi, dword [ebp - 0x33c]
jne 0x426de2
mov edi, 1
jmp 0x426de4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x328]
mov dword [ecx], eax
xor edi, edi
push dword [ebp - 0x32c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x426e07
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x328]
mov dword [ecx], eax
mov byte [ebp - 4], 3
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x426e23
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x334]
call fcn.00425d60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a373
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405790
int3