Function at 0x65243be0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov ecx, dword [eax]
mov edx, dword [ebp + 0x14]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._set_test_type
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
and eax, 1
test eax, eax
je 0x65243e50
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
movzx eax, byte [eax + 2]
movzx eax, al
and eax, 0x20
test eax, eax
je 0x65243c62
mov dword [ebp - 0x2c], 0x65268ff0
jmp 0x65243c69
mov dword [ebp - 0x2c], 0x65268ff8
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
movzx eax, byte [eax + 0xa0]
test al, al
je 0x65243ca6
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
lea ebx, [eax + 0xa0]
jmp 0x65243cab
mov ebx, str._no_description_
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
movzx eax, byte [eax + 0xe0]
test al, al
jne 0x65243cd2
mov edi, 0x65267ee8
jmp 0x65243cd7
mov edi, 0x65267ee9
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
lea esi, [eax + 0xe0]
mov dword [esp], 2
mov eax, dword [dbg.__acrt_iob_func]
call eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], str._s_s_s:__s_n
mov dword [esp], eax
call sym._fprintf
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
movzx eax, byte [eax + 2]
movzx eax, al
and eax, 0x20
test eax, eax
je 0x65243e51
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
add eax, 0xa0
mov dword [esp + 4], 0x65268ff8
mov dword [esp], eax
call sym._strstr
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x65243e51
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
add eax, 0xa0
cmp dword [ebp - 0x20], eax
je 0x65243dbe
mov eax, dword [ebp - 0x20]
sub eax, 1
movzx eax, byte [eax]
movzx eax, al
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll_isspace]
call eax
test eax, eax
je 0x65243e51
mov edx, dword [0x65269000]
mov eax, dword [ebp - 0x20]
lea ecx, [edx + eax]
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
add eax, 0xa0
sub ecx, eax
mov eax, ecx
cmp eax, 0x80
je 0x65243e20
mov edx, dword [0x65269000]
mov eax, dword [ebp - 0x20]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x65243e20
mov edx, dword [0x65269000]
mov eax, dword [ebp - 0x20]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll_isspace]
call eax
test eax, eax
je 0x65243e51
mov dword [esp], 2
mov eax, dword [dbg.__acrt_iob_func]
call eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x27
mov dword [esp + 4], 1
mov dword [esp], str._Possible_binary_test_for_text_type_n
call sym._fwrite
jmp 0x65243e51
nop
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0x10]
jae 0x65243e7e
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
movzx eax, word [eax]
test ax, ax
jne 0x65243bef
mov eax, dword [ebp - 0x1c]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret