Function at 0x43f256
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
cmp dword [ebp + 8], 0
je 0x43f271
mov dword [ebp - 0x134], str.true
jmp 0x43f27b
mov dword [ebp - 0x134], str.false
mov eax, dword [ebp - 0x134]
push eax
push str.SV_WriteServerFile__s__n
call fcn.00420689
add esp, 8
call fcn.00425c30
push eax
push 0x4587a4
push 0x80
lea ecx, [ebp - 0x130]
push ecx
call fcn.004397ec
add esp, 0x10
push 0x4587c0
lea edx, [ebp - 0x130]
push edx
call sub.MSVCRT.dll_fopen
add esp, 8
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x43f2ea
lea eax, [ebp - 0x130]
push eax
push str.Couldnt_write__s_n
call fcn.0042050d
add esp, 8
jmp 0x43f55c
push 0x20
push 0
lea ecx, [ebp - 0xb0]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x43f3a1
lea edx, [ebp - 0x88]
push edx
call sub.MSVCRT.dll_time
add esp, 4
lea eax, [ebp - 0x88]
push eax
call sub.MSVCRT.dll_localtime
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
add ecx, 1
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
cdq
mov ecx, 0xa
idiv ecx
push edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
cdq
mov ecx, 0xa
idiv ecx
push eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
push str._2i:_i_i__2i__2i
push 0x20
lea ecx, [ebp - 0xb0]
push ecx
call fcn.004397ec
add esp, 0x20
lea edx, [ebp - 0xb0]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
mov ecx, 0x1f
sub ecx, eax
push ecx
push 0x48af54
lea edx, [ebp - 0xb0]
push edx
call sub.MSVCRT.dll_strncat
add esp, 0xc
jmp 0x43f3bc
push 0x48af54
push str.ENTERING__s
push 0x20
lea eax, [ebp - 0xb0]
push eax
call fcn.004397ec
add esp, 0x10
mov ecx, dword [ebp - 0x90]
push ecx
push 0x20
push 1
lea edx, [ebp - 0xb0]
push edx
call sub.MSVCRT.dll_fwrite
add esp, 0x10
mov eax, dword [ebp - 0x90]
push eax
push 0x80
push 1
push 0x4834c8
call sub.MSVCRT.dll_fwrite
add esp, 0x10
mov ecx, dword [0x6a00a4]
mov dword [ebp - 0x8c], ecx
jmp 0x43f40e
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x43f518
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0xc]
and edx, 0x10
test edx, edx
jne 0x43f42d
jmp 0x43f3ff
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
cmp eax, 0x7f
jae 0x43f45a
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 4]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
cmp eax, 0x7f
jb 0x43f47c
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax]
push ecx
push str.Cvar_too_long:__s___s_n
call fcn.0042050d
add esp, 0xc
jmp 0x43f3ff
push 0x80
push 0
lea edx, [ebp - 0x130]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x80
push 0
lea eax, [ebp - 0x84]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x130]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 4]
push edx
lea eax, [ebp - 0x84]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov ecx, dword [ebp - 0x90]
push ecx
push 0x80
push 1
lea edx, [ebp - 0x130]
push edx
call sub.MSVCRT.dll_fwrite
add esp, 0x10
mov eax, dword [ebp - 0x90]
push eax
push 0x80
push 1
lea ecx, [ebp - 0x84]
push ecx
call sub.MSVCRT.dll_fwrite
add esp, 0x10
jmp 0x43f3ff
mov edx, dword [ebp - 0x90]
push edx
call sub.MSVCRT.dll_fclose
add esp, 4
call fcn.00425c30
push eax
push 0x458810
push 0x80
lea eax, [ebp - 0x130]
push eax
call fcn.004397ec
add esp, 0x10
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x130]
push edx
mov eax, dword [0x669cf0]
call dword [eax + 0x10]
add esp, 8
mov esp, ebp
pop ebp
ret