Function at 0x43d6b4
Capabilities:
Clear file content
Write file on windows

Disassembly:
push 0x54
mov eax, 0x48969b
call fcn.0047ceb6
mov dword [ebp - 0x1c], ecx
and dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0x18], ebx
or dword [ebp - 4], 0xffffffff
xor eax, eax
lea edi, [ebp - 0x60]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x43d8f8
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x43d8f8
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.00461ec5
mov esi, eax
test esi, esi
js 0x43d8fd
mov edx, dword [ebp - 0x24]
lea esi, [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x60]
sub esp, 0x10
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0045f2f0
mov esi, eax
test esi, esi
js 0x43d8fd
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x43d76c
mov ecx, dword [eax]
test ecx, ecx
je 0x43d76c
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x43d76c
sub esp, 0x10
mov esi, eax
mov edi, esp
lea eax, [ebp - 0x20]
push 1
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x18]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00461d07
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
jns 0x43d7d3
mov esi, dword [ebp - 0x1c]
test ebx, ebx
je 0x43d77b
push ebx
call fcn.00434409
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [esi + 0x44]
test eax, eax
je 0x43d8f8
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x43d8f8
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.00461ec5
mov esi, eax
test esi, esi
js 0x43d8fd
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x4c]
sub esp, 0x10
lea eax, [ebp - 0x20]
mov edi, esp
push 0
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x18]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00461d07
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
js 0x43d8fd
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x38]
test eax, eax
je 0x43d7e2
cmp eax, 0xffffffff
jne 0x43d7e4
xor eax, eax
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x43d80a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004317f4
mov esi, eax
jmp 0x43d8fd
mov eax, dword [edi + 0x38]
test eax, eax
je 0x43d816
cmp eax, 0xffffffff
jne 0x43d818
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x43d7f7
mov eax, dword [edi + 0x38]
test ebx, ebx
sete byte [ebp - 0x11]
test eax, eax
je 0x43d835
cmp eax, 0xffffffff
jne 0x43d837
xor eax, eax
push 0
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp - 0x20]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43d7f7
mov eax, dword [edi + 0x38]
test eax, eax
je 0x43d858
cmp eax, 0xffffffff
jne 0x43d85a
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
je 0x43d7f7
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x43d871
cmp eax, 0xffffffff
jne 0x43d873
xor eax, eax
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x43d7f7
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x43d896
cmp eax, 0xffffffff
jne 0x43d898
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x43d7f7
cmp byte [ebp - 0x11], 0
je 0x43d8b1
xor ecx, ecx
jmp 0x43d8b3
mov ecx, ebx
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x43d8bf
cmp eax, 0xffffffff
jne 0x43d8c1
xor eax, eax
push 0
lea edx, [ebp - 0x2c]
push edx
push dword [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43d7f7
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x43d8e6
cmp eax, 0xffffffff
jne 0x43d8e8
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x43d903
jmp 0x43d7f7
mov esi, 0x80070057
push esi
call fcn.004314fa
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x43d955
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
test eax, eax
je 0x43d916
dec dword [eax + 0xc]
cmp dword [ebp - 0x5c], 0
je 0x43d936
push dword [ebp - 0x5c]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x60]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x14
pop ecx
lea eax, [ebp - 0x60]
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x43d94c
push esi
call fcn.00431467
mov dword [ebp - 4], 1
test ebx, ebx
je 0x43d96c
push ebx
call fcn.00434409
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0047ce87
ret