Function at 0x603f0dc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [eax + 0x90]
mov dword [ebp - 0x14], 0
mov eax, dword [ebx + 0x13c]
lea edi, [ebx + 0x6c]
push eax
push 0x603f0a86
push esi
call fcn.6041d180
mov eax, dword [ebx + 0x13c]
add esp, 0x10
test al, 1
jne 0x603f12d5
test al, 2
jne 0x603f12b6
test al, 4
jne 0x603f1297
test al, 8
jne 0x603f127e
cmp byte [ebx + 0x13c], 0
js 0x603f1265
mov eax, dword [ebx + 0x13c]
test ah, 1
jne 0x603f1246
test ah, 2
jne 0x603f1227
test ah, 0x10
jne 0x603f1208
test ah, 0x20
jne 0x603f11ef
cmp word [ebx + 0x13c], 0
js 0x603f11d6
mov eax, dword [ebx + 0x64]
sub esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call sub.msvcrt.dll_ctime
add esp, 0xc
push eax
push 0x603f0a9d
push esi
call fcn.6041d180
push esi
push 0xc
push 1
push 0x603f0aac
call sub.msvcrt.dll_fwrite
mov eax, dword [edi]
add esp, 0x1c
push eax
push 0x603efbd3
push esi
call fcn.6041d180
push esi
push 0x12
push 1
push 0x603f0ab9
call sub.msvcrt.dll_fwrite
mov eax, dword [edi + 4]
add esp, 0x1c
push eax
push 0x603efbd3
push esi
call fcn.6041d180
push esi
push 0x10
push 1
push 0x603f0acc
call sub.msvcrt.dll_fwrite
mov eax, dword [edi + 8]
add esp, 0x1c
push eax
push 0x603efbd3
push esi
call fcn.6041d180
add esp, 0xc
movsx eax, word [edi + 0xc]
push eax
push 0x603f0add
push esi
call fcn.6041d180
add esp, 0xc
movsx eax, word [edi + 0xe]
push eax
push 0x603f0af6
push esi
call fcn.6041d180
add esp, 0xc
movsx eax, word [edi + 0x10]
push eax
push 0x603f0b0e
push esi
call fcn.6041d180
add esp, 0xc
movsx eax, word [edi + 0x12]
push eax
push 0x603f0b24
push esi
call fcn.6041d180
add esp, 0xc
movsx eax, word [edi + 0x14]
push eax
push 0x603f0b3a
push esi
call fcn.6041d180
add esp, 0xc
movsx eax, word [edi + 0x16]
push eax
push 0x603f0b54
push esi
call fcn.6041d180
add esp, 0xc
mov eax, dword [edi + 0x18]
push eax
push 0x603f0b6e
push esi
call fcn.6041d180
add esp, 0xc
mov eax, dword [edi + 0x1c]
push eax
push 0x603f0b83
push esi
call fcn.6041d180
add esp, 0xc
mov eax, dword [edi + 0x20]
push eax
push 0x603f0b97
push esi
call fcn.6041d180
add esp, 0xc
mov ebx, dword [edi + 0x24]
push ebx
push 0x603f0bad
push esi
call fcn.6041d180
mov ax, word [edi + 0x28]
add esp, 0x10
movsx edx, ax
cmp edx, 0xc
ja case.0x603f0fab.4
jmp dword [edx*4 + 0x603f0fb4]
mov dword [ebp - 0x14], 0x603f0bbe
cwde
push ecx
push eax
push 0x603f0bca
push esi
call fcn.6041d180
mov edx, dword [ebp - 0x14]
add esp, 0x10
test edx, edx
je 0x603f101a
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0x603f0bda
push esi
call fcn.6041d180
add esp, 0x10
push eax
movsx eax, word [edi + 0x2a]
push eax
push 0x603f0be0
push esi
call fcn.6041d180
push esi
push 0x13
push 1
push 0x603f0bfa
call sub.msvcrt.dll_fwrite
mov eax, dword [edi + 0x2c]
add esp, 0x1c
push eax
push 0x603efbd3
push esi
call fcn.6041d180
push esi
push 0x13
push 1
push 0x603f0c0e
call sub.msvcrt.dll_fwrite
mov eax, dword [edi + 0x30]
add esp, 0x1c
push eax
push 0x603efbd3
push esi
call fcn.6041d180
push esi
push 0x13
push 1
push 0x603f0c22
call sub.msvcrt.dll_fwrite
mov eax, dword [edi + 0x34]
add esp, 0x1c
push eax
push 0x603efbd3
push esi
call fcn.6041d180
push esi
push 0x12
push 1
push 0x603f0c36
call sub.msvcrt.dll_fwrite
mov ebx, dword [edi + 0x38]
add esp, 0x1c
push ebx
xor ebx, ebx
push 0x603efbd3
push esi
call fcn.6041d180
mov ecx, dword [edi + 0x3c]
add esp, 0xc
push ecx
push 0x603f0c49
push esi
call fcn.6041d180
add esp, 0xc
mov edx, dword [edi + 0x40]
push edx
push 0x603f0c5e
push esi
call fcn.6041d180
push esi
push 0x14
push 1
push 0x603f0c79
call sub.msvcrt.dll_fwrite
add esp, 0x20
push eax
push ebx
push 0x603f0c8e
push esi
call fcn.6041d180
add esp, 0xc
mov eax, dword [edi + ebx*8 + 0x44]
push eax
push 0x603efbd3
push esi
call fcn.6041d180
add esp, 0xc
mov eax, dword [edi + ebx*8 + 0x48]
push eax
push 0x603f0c99
push esi
call fcn.6041d180
add esp, 0xc
mov eax, dword [ebx*4 + 0x6041e1e0]
inc ebx
push eax
push 0x603f0ca1
push esi
call fcn.6041d180
add esp, 0x10
cmp ebx, 0xf
jle 0x603f10e7
push eax
push eax
mov eax, dword [ebp + 8]
push esi
push eax
call fcn.603ef5c0
mov ecx, dword [ebp + 8]
pop ebx
pop edi
push esi
push ecx
call fcn.603efd90
mov edi, dword [ebp + 8]
pop eax
pop edx
push esi
push edi
call fcn.603f03c0
mov edx, dword [ebp + 8]
pop ecx
pop ebx
push esi
push edx
call fcn.603f0850
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x14], 0x603f0ca5
jmp case.0x603f0fab.4
mov dword [ebp - 0x14], 0x603f0caf
jmp case.0x603f0fab.4
mov dword [ebp - 0x14], 0x603f0cbb
jmp case.0x603f0fab.4
mov dword [ebp - 0x14], 0x603f0cc7
jmp case.0x603f0fab.4
mov dword [ebp - 0x14], 0x603f0cd1
jmp case.0x603f0fab.4
mov dword [ebp - 0x14], 0x603f0cdb
jmp case.0x603f0fab.4
mov dword [ebp - 0x14], 0x603f0ceb
jmp case.0x603f0fab.4
mov dword [ebp - 0x14], 0x603f0d03
jmp case.0x603f0fab.4
push edx
push 0x603f0d16
push 0x603f0d21
push esi
call fcn.6041d180
add esp, 0x10
jmp 0x603f0e5f
push ecx
push 0x603f0d26
push 0x603f0d21
push esi
call fcn.6041d180
add esp, 0x10
jmp 0x603f0e51
push eax
push 0x603f0d2a
push 0x603f0d21
push esi
call fcn.6041d180
add esp, 0x10
mov eax, dword [ebx + 0x13c]
jmp 0x603f0e48
push eax
push 0x603f0d36
push 0x603f0d21
push esi
call fcn.6041d180
add esp, 0x10
mov eax, dword [ebx + 0x13c]
jmp 0x603f0e3f
push eax
push 0x603f0d54
push 0x603f0d21
push esi
call fcn.6041d180
add esp, 0x10
mov eax, dword [ebx + 0x13c]
jmp 0x603f0e36
push eax
push 0x603f0d61
push 0x603f0d21
push esi
call fcn.6041d180
add esp, 0x10
jmp 0x603f0e27
push eax
push 0x603f0d6f
push 0x603f0d21
push esi
call fcn.6041d180
add esp, 0x10
jmp 0x603f0e1a
push eax
push 0x603f0d80
push 0x603f0d21
push esi
call fcn.6041d180
add esp, 0x10
mov eax, dword [ebx + 0x13c]
jmp 0x603f0e12
push edx
push 0x603f0d96
push 0x603f0d21
push esi
call fcn.6041d180
add esp, 0x10
mov eax, dword [ebx + 0x13c]
jmp 0x603f0e0a
push ecx
push 0x603f0da1
push 0x603f0d21
push esi
call fcn.6041d180
add esp, 0x10
mov eax, dword [ebx + 0x13c]
jmp 0x603f0e02