Function at 0x45eab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x10c], 0
mov al, byte [0x5f6119]
mov byte [ebp - 0x210], al
push 0xfe
push 0
lea ecx, [ebp - 0x20f]
push ecx
call fcn.005323e0
add esp, 0xc
mov dl, byte [0x5f611a]
mov byte [ebp - 0x108], dl
push 0xfe
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.005323e0
add esp, 0xc
mov dword [ebp - 4], 0
movsx ecx, byte [0x5c4c2c]
test ecx, ecx
je 0x45eb2c
mov eax, 1
jmp 0x45ed8c
cmp dword [0x5fdb24], 1
jne 0x45eb3f
mov eax, 1
jmp 0x45ed8c
push 0xd86489
call fcn.00532e80
add esp, 4
cmp eax, 8
je 0x45eb93
push str.Error:_SaveLocalClassStudent_GroupSerialNum
push 1
call fcn.00436500
add esp, 8
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0045e980
add esp, 0xc
push 0xd86489
call fcn.00532e80
add esp, 4
cmp eax, 8
je 0x45eb93
push str.Error:_SaveLocalClassStudent_GroupSerialNum_2
push 1
call fcn.00436500
add esp, 8
push 0x1068ea0
call fcn.00423110
add esp, 4
test eax, eax
jne 0x45ebb1
push 0x1068ea0
call fcn.00423c50
add esp, 4
push 0x1068ea0
push 0x564d04
lea ecx, [ebp - 0x210]
push ecx
call fcn.00532706
add esp, 0xc
push 0x564d10
lea edx, [ebp - 0x210]
push edx
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x45ec16
lea eax, [ebp - 0x210]
push eax
call fcn.00488130
add esp, 4
push 0x564d14
lea ecx, [ebp - 0x210]
push ecx
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x45ed47
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.00419f70
add esp, 8
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0041aee0
add esp, 8
mov ecx, dword [ebp - 0x10c]
push ecx
push 1
push 0x2bc
mov edx, dword [ebp + 8]
push edx
call fcn.005337fa
add esp, 0x10
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0041aee0
add esp, 8
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00419f70
add esp, 8
mov edx, 2
mov eax, dword [ebp + 0xc]
mov word [eax + 0x21a], dx
push 0x3e7
mov ecx, dword [ebp + 0xc]
push ecx
push 2
call fcn.0041a960
add esp, 0xc
mov edx, dword [ebp - 0x10c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004559e0
add esp, 8
push 0x3e7
mov ecx, dword [ebp + 0xc]
push ecx
push 1
call fcn.0041a960
add esp, 0xc
mov edx, 1
mov eax, dword [ebp + 0xc]
mov word [eax + 0x21a], dx
push 0
push 0xd86460
call fcn.0041b080
add esp, 8
mov ecx, dword [ebp - 0x10c]
push ecx
push 1
push 0x404
push 0xd86460
call fcn.005337fa
add esp, 0x10
push 0
push 0xd86460
call fcn.0041b080
add esp, 8
mov edx, dword [ebp - 0x10c]
push edx
push 1
push 0x16
push 0x15444c0
call fcn.005337fa
add esp, 0x10
push 0x15444c0
push 0x5c4c2c
call fcn.00532580
add esp, 8
mov eax, dword [ebp - 0x10c]
push eax
call fcn.00431d50
add esp, 4
mov dword [ebp - 4], 1
jmp 0x45ed89
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x108]
push edx
push str.MSG_Message_UnableToCreateFile
push 0
call fcn.0046ce90
add esp, 0x10
push str.Unable_to_create_local.dat_file.
push 0x5f611b
push 0x564d5c
lea eax, [ebp - 0x108]
push eax
call fcn.00422b80
add esp, 0x10
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret