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

Disassembly:
push 0xffffffffffffffff
push 0x43bcdd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
mov eax, dword [ecx + 0x28]
mov ebp, dword [eax]
cmp ebp, eax
mov dword [esp + 0x1e4], ebx
je 0x423676
lea ebx, [ebx]
lea edi, [ebp + 0xc]
push edi
lea eax, [esp + 0x34]
push 0x43fbac
push eax
call fcn.004231a0
push 0x43fba8
push eax
lea ecx, [esp + 0xd0]
push ecx
mov byte [esp + 0x1fc], 1
call fcn.00423250
push 0x43fba0
push eax
lea edx, [esp + 0xa4]
push edx
mov byte [esp + 0x208], 2
call fcn.00423250
add esp, 0x24
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f0], 3
call fcn.004105b0
mov eax, dword [esp + 0x9c]
mov esi, 8
cmp eax, esi
jb 0x423471
mov eax, dword [esp + 0x88]
push eax
call fcn.00429695
add esp, 4
cmp dword [esp + 0xd4], esi
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
jb 0x4234a4
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.00429695
add esp, 4
cmp dword [esp + 0x48], esi
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
mov byte [esp + 0x1e4], bl
jb 0x4234d8
mov edx, dword [esp + 0x34]
push edx
call fcn.00429695
add esp, 4
mov eax, dword [edi + 0x20]
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
je 0x42362f
jmp 0x423500
push 0x43fb9c
lea edi, [esi + 0xc]
lea eax, [esp + 0xa4]
push edi
push eax
call fcn.00423250
add edi, 0x1c
push edi
push eax
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x1fc], 4
call fcn.00423300
push 0x43fba0
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x208], 5
call fcn.00423250
add esp, 0x24
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f0], 6
call fcn.004105b0
mov eax, dword [esp + 0x64]
mov edi, 8
cmp eax, edi
jb 0x423577
mov eax, dword [esp + 0x50]
push eax
call fcn.00429695
add esp, 4
cmp dword [esp + 0x80], edi
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jb 0x42359e
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00429695
add esp, 4
cmp dword [esp + 0xb8], edi
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
mov byte [esp + 0x1e4], bl
jb 0x4235d2
mov edx, dword [esp + 0xa4]
push edx
call fcn.00429695
add esp, 4
cmp byte [esi + 0x45], bl
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
jne 0x423626
mov eax, dword [esi + 8]
cmp byte [eax + 0x45], bl
jne 0x42360d
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x45], bl
jne 0x423626
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x45], bl
je 0x423602
jmp 0x423626
mov eax, dword [esi + 4]
cmp byte [eax + 0x45], bl
jne 0x423624
cmp esi, dword [eax + 8]
jne 0x423624
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], bl
je 0x423615
mov esi, eax
cmp esi, dword [ebp + 0x2c]
jne 0x423500
cmp byte [ebp + 0x35], bl
jne 0x423669
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x35], bl
jne 0x423650
mov eax, dword [ecx]
cmp byte [eax + 0x35], bl
jne 0x42364c
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x35], bl
je 0x423643
mov ebp, ecx
jmp 0x423669
mov eax, dword [ebp + 4]
cmp byte [eax + 0x35], bl
jne 0x423667
cmp ebp, dword [eax + 8]
jne 0x423667
mov ebp, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x35], bl
je 0x423658
mov ebp, eax
mov eax, dword [esp + 0x10]
cmp ebp, dword [eax + 0x28]
jne 0x4233f0
push str._r_n_r_n
call fcn.0042a3e2
add esp, 4
push eax
push str._r_n_r_n
lea ecx, [esp + 0x1c]
call fcn.004106b0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
push ebx
ja 0x4236bf
mov ecx, dword [esp + 0x1f0]
push 0x80
push 2
push ebx
push 1
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x42371b
xor eax, eax
mov byte [esp + 0xdc], bl
mov ecx, 0x40
lea edi, [esp + 0xdd]
rep stosd dword es:[edi], eax
push ebx
push 0x104
stosw word es:[edi], ax
lea edx, [esp + 0xe4]
push edx
push 0xffffffffffffffff
stosb byte es:[edi], al
mov eax, dword [esp + 0x200]
push eax
push 0x200
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
lea ecx, [esp + 0xf0]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x423770
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea edx, [esp + 0x14]
push edx
push 2
push 0x43fb8c
push esi
mov dword [esp + 0x24], ebx
call edi
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x42374b
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x28]
push ebx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edx + edx]
push ecx
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
cmp dword [esp + 0x2c], 8
jb 0x423784
mov edx, dword [esp + 0x18]
push edx
call fcn.00429695
add esp, 4
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x1d8
ret 4