Function at 0x4b5d40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
test eax, eax
je 0x4b6120
mov edi, dword [ebp + 0xc]
push edi
push 6
push 1
push str.Type:
call sub.msvcrt.dll_fwrite
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add esp, 0x10
test eax, eax
je 0x4b613d
push esi
push eax
push 0x53f7ab
mov ebx, dword [ebp + 0xc]
push ebx
call sub.msvcrt.dll_fprintf
add esp, 0x10
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x70]
test eax, eax
je 0x4b5da7
push edx
push eax
push 0x53f7bc
mov eax, dword [ebp + 0xc]
push eax
call sub.msvcrt.dll_fprintf
add esp, 0x10
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp eax, 0xd
jbe switch.0x004b5df0
push edx
push eax
push str._unknown_type__d_
mov edi, dword [ebp + 0xc]
push edi
call sub.msvcrt.dll_fprintf
add esp, 0x10
mov esi, dword [ebp + 0xc]
push esi
push 9
push 1
push str.content:
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp + 8]
add esp, 0x10
cmp dword [eax + 0x34], 7
ja case.0x4b5de5.5
mov eax, dword [eax + 0x34]
jmp dword [eax*4 + 0x53f8c8]
jmp dword [eax*4 + 0x53f8e8]
mov ebx, dword [ebp + 0xc]
push ebx
push 0xa
push 1
push str._unknown_
call sub.msvcrt.dll_fwrite
add esp, 0x10
lea esi, [esi]
push eax
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0xa
call sub.msvcrt.dll_fputc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
add esp, 0x10
test eax, eax
je 0x4b5e5e
push edi
push eax
push str.__base_type:__s
mov esi, dword [ebp + 0xc]
push esi
call sub.msvcrt.dll_fprintf
mov edx, dword [ebp + 8]
add esp, 0x10
mov eax, dword [edx + 0x3c]
test eax, eax
je 0x4b6157
push ebx
push eax
push str._ns__s_n
mov ecx, dword [ebp + 0xc]
push ecx
call sub.msvcrt.dll_fprintf
add esp, 0x10
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x74]
test esi, esi
je 0x4b5e7a
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], 0
test eax, eax
jne 0x4b6046
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4b5e8c
mov eax, dword [ebp + 0xc]
call fcn.004b5af0
mov edx, dword [ebp + 8]
cmp dword [edx], 5
je 0x4b6026
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
push eax
push 6
push 1
push str._any_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp case.0x4b5de5.5
mov eax, dword [ebp + 0xc]
push eax
push 8
push 1
push str._mixed_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp case.0x4b5de5.5
mov edx, dword [ebp + 0xc]
push edx
push 0xa
push 1
push str._element_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp case.0x4b5de5.5
mov ecx, dword [ebp + 0xc]
push ecx
push 8
push 1
push str._empty_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp case.0x4b5de5.5
mov eax, dword [ebp + 0xc]
push eax
push 8
push 1
push str._basic_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp case.0x4b5de5.5
mov eax, dword [ebp + 0xc]
push eax
push 9
push 1
push str._simple_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp case.0x4b5de5.5
mov ecx, dword [ebp + 0xc]
push ecx
push 0xc
push 1
push str._extension_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x4b5dc4
mov ebx, dword [ebp + 0xc]
push ebx
push 0xe
push 1
push str._restriction_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x4b5dc4
mov esi, dword [ebp + 0xc]
push esi
push 5
push 1
push str._ur_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x4b5dc4
mov edi, dword [ebp + 0xc]
push edi
push 6
push 1
push str._all_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x4b5dc4
mov eax, dword [ebp + 0xc]
push eax
push 9
push 1
push str._choice_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x4b5dc4
mov eax, dword [ebp + 0xc]
push eax
push 0xb
push 1
push str._sequence_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x4b5dc4
mov eax, dword [ebp + 0xc]
push eax
push 0xa
push 1
push str._complex_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x4b5dc4
mov eax, dword [ebp + 0xc]
push eax
push 9
push 1
push str._simple_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x4b5dc4
mov eax, dword [ebp + 0xc]
push eax
push 8
push 1
push str._basic_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x4b5dc4
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x4b5e98
mov edx, dword [ebp + 0xc]
mov ecx, 1
call fcn.004b5b50
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
push eax
push 0xe
push 1
push str.__attributes:_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esi + 4]
add esp, 0x10
test eax, eax
jle 0x4b5e7a
xor edi, edi
jmp 0x4b60ce
mov ecx, dword [ebp + 0xc]
push ecx
push 8
push 1
push str.___use_
call sub.msvcrt.dll_fwrite
mov eax, dword [ebx + 0xc]
add esp, 0x10
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x38]
lea eax, [ebp - 0x10]
call fcn.00499470
push edx
push eax
push str._s_n
mov ebx, dword [ebp + 0xc]
push ebx
call sub.msvcrt.dll_fprintf
mov eax, dword [ebp - 0x10]
add esp, 0x10
test eax, eax
je 0x4b60c4
sub esp, 0xc
push eax
call dword [0x519080]
mov dword [ebp - 0x10], 0
add esp, 0x10
inc edi
cmp dword [esi + 4], edi
jle 0x4b5e7a
mov eax, dword [esi]
mov ebx, dword [eax + edi*4]
mov eax, dword [ebx]
cmp eax, 0x7d1
je 0x4b6100
cmp eax, 0x7d0
jne 0x4b6070
mov eax, dword [ebp + 0xc]
push eax
push 0xe
push 1
push str.___reference_
call sub.msvcrt.dll_fwrite
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
add esp, 0x10
jmp 0x4b608e
mov eax, dword [ebp + 0xc]
push eax
push 0x10
push 1
push str.___prohibition_
call sub.msvcrt.dll_fwrite
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
add esp, 0x10
jmp 0x4b608e
mov eax, dword [ebp + 0xc]
push eax
push 0xb
push 1
push str.Type:_NULL_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp + 0xc]
push ecx
push 0xa
push 1
push str._no_name_
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x4b5d8a
push edx
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0xa
call sub.msvcrt.dll_fputc
add esp, 0x10
jmp 0x4b5e5e