Function at 0x42b0f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5f8
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x52c], 0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x528], 0
mov dword [ebp - 0x400], 0
mov dword [ebp - 0x524], 0
xor eax, eax
mov word [ebp - 0x3f4], ax
xor ecx, ecx
mov word [ebp - 8], cx
mov dl, byte [0x5c6cdb]
mov byte [ebp - 0x3f0], dl
push 0xfe
push 0
lea eax, [ebp - 0x3ef]
push eax
call fcn.005323e0
add esp, 0xc
mov cl, byte [0x5c6cdc]
mov byte [ebp - 0x2e8], cl
push 0xfe
push 0
lea edx, [ebp - 0x2e7]
push edx
call fcn.005323e0
add esp, 0xc
mov al, byte [0x5c6cdd]
mov byte [ebp - 0x1d8], al
push 0xfe
push 0
lea ecx, [ebp - 0x1d7]
push ecx
call fcn.005323e0
add esp, 0xc
mov dl, byte [0x5c6cde]
mov byte [ebp - 0x520], dl
push 0xfe
push 0
lea eax, [ebp - 0x51f]
push eax
call fcn.005323e0
add esp, 0xc
mov cl, byte [0x5c6cdf]
mov byte [ebp - 0x418], cl
xor edx, edx
mov dword [ebp - 0x417], edx
mov dword [ebp - 0x413], edx
mov dword [ebp - 0x40f], edx
mov word [ebp - 0x40b], dx
mov byte [ebp - 0x409], dl
mov dword [ebp - 0x3fc], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x3f8], 0
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x42b260
xor eax, eax
jmp 0x42bb03
push 0xc8
push 0
lea edx, [ebp - 0xd8]
push edx
call fcn.005323e0
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004281d0
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
push 0x5c
mov eax, dword [ebp + 8]
add eax, 0x52
push eax
push 0x5c
lea ecx, [ebp - 0x418]
push ecx
push 0x5c44f8
push 0x55e318
lea edx, [ebp - 0x2e8]
push edx
call fcn.00532706
add esp, 0x20
push 1
push 0x55e330
lea eax, [ebp - 0x2e8]
push eax
call fcn.00459360
add esp, 0xc
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x42b2e4
xor eax, eax
jmp 0x42bb03
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004281d0
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
push 0x5c
mov ecx, dword [ebp + 8]
add ecx, 0x52
push ecx
push 0x5c
lea edx, [ebp - 0x418]
push edx
push 0x5c44f8
push str._s_s_c_s.cls_c_s.NEW
lea eax, [ebp - 0x1d8]
push eax
call fcn.00532706
add esp, 0x20
lea ecx, [ebp - 0x1d8]
push ecx
call fcn.00429360
add esp, 4
push 1
push 0x55e34c
lea edx, [ebp - 0x1d8]
push edx
call fcn.00459360
add esp, 0xc
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0
jne 0x42b370
mov eax, dword [ebp - 0x41c]
push eax
call fcn.00431d50
add esp, 4
xor eax, eax
jmp 0x42bb03
call fcn.00483ee0
push eax
lea ecx, [ebp - 0x3f0]
push ecx
call fcn.00532580
add esp, 8
push 4
push 1
lea edx, [ebp - 0x3f0]
push edx
call fcn.00433b80
add esp, 0xc
cwde
mov dword [ebp - 0x528], eax
push 2
push 6
lea ecx, [ebp - 0x3f0]
push ecx
call fcn.00433b80
add esp, 0xc
movsx edx, ax
mov dword [ebp - 0x400], edx
push 2
push 9
lea eax, [ebp - 0x3f0]
push eax
call fcn.00433b80
add esp, 0xc
movsx ecx, ax
mov dword [ebp - 0x524], ecx
lea edx, [ebp - 0x3f0]
push edx
lea eax, [ebp - 0x3f4]
push eax
call fcn.004344f0
add esp, 8
mov ecx, dword [ebp - 0x41c]
push ecx
call fcn.004557e0
add esp, 4
mov dword [ebp - 0x408], eax
push 0
mov edx, dword [ebp - 0x1e4]
push edx
call fcn.00455880
add esp, 8
mov dword [ebp - 0x1e0], 1
jmp 0x42b42e
mov eax, dword [ebp - 0x1e0]
add eax, 1
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
cmp ecx, dword [ebp - 0x408]
jg 0x42b4e7
mov edx, dword [ebp - 0x41c]
push edx
push 1
push 0xc8
lea eax, [ebp - 0xd8]
push eax
call fcn.0053367b
add esp, 0x10
push 0
push 3
lea ecx, [ebp - 0xd8]
push ecx
call fcn.0041aba0
add esp, 0xc
movsx edx, word [ebp - 0xd8]
cmp edx, 0x76c
jle 0x42b4e2
movsx eax, word [ebp - 0xd8]
sub eax, 0x7bc
shl eax, 9
movsx ecx, word [ebp - 0xd6]
shl ecx, 5
add eax, ecx
movsx edx, word [ebp - 0xd4]
add eax, edx
mov word [ebp - 8], ax
movsx eax, word [ebp - 8]
movsx ecx, word [ebp - 0x3f4]
add ecx, 2
cmp eax, ecx
jge 0x42b4e2
movsx edx, word [ebp - 0xd8]
mov dword [ebp - 0x528], edx
movsx eax, word [ebp - 0xd6]
mov dword [ebp - 0x400], eax
movsx ecx, word [ebp - 0xd4]
mov dword [ebp - 0x524], ecx
jmp 0x42b4e7
jmp 0x42b41f
push 0
push 4
mov edx, dword [ebp - 0x41c]
push edx
call fcn.00532940
add esp, 0xc
mov dword [ebp - 0x1e0], 1
jmp 0x42b515
mov eax, dword [ebp - 0x1e0]
add eax, 1
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
cmp ecx, dword [ebp - 0x408]
jg 0x42ba3c
mov eax, dword [ebp - 0x1e0]
cdq
mov ecx, 0x64
idiv ecx
test edx, edx
jne 0x42b573
mov edx, dword [ebp - 0x408]
push edx
mov eax, dword [ebp - 0x1e0]
push eax
push str.Verifying_study_records__d_of__d
lea ecx, [ebp - 0x3f0]
push ecx
call fcn.00532706
add esp, 0x10
mov edx, dword [ebp + 0xc]
add edx, 9
push edx
lea eax, [ebp - 0x3f0]
push eax
push 0
call fcn.00492be0
add esp, 0xc
mov ecx, dword [ebp - 0x41c]
push ecx
push 1
push 0xc8
lea edx, [ebp - 0xd8]
push edx
call fcn.0053367b
add esp, 0x10
push 0
push 3
lea eax, [ebp - 0xd8]
push eax
call fcn.0041aba0
add esp, 0xc
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00441ea0
add esp, 4
mov dword [ebp - 0x404], eax
movsx edx, word [ebp - 0xd8]
cmp edx, 0x7bc
jle 0x42b5df
movsx eax, word [ebp - 0xbc]
cmp eax, 0x12c
jle 0x42b5df
mov dword [ebp - 0x404], 0
cmp dword [ebp + 0x10], 0
je 0x42b633
movsx ecx, word [ebp - 0xd8]
cmp dword [ebp + 0x10], ecx
jne 0x42b633
movsx edx, word [ebp - 0xd6]
cmp dword [ebp + 0x14], edx
jne 0x42b633
movsx eax, word [ebp - 0xd4]
cmp dword [ebp + 0x18], eax
jne 0x42b633
mov ecx, dword [ebp + 0x1c]
push ecx
lea edx, [ebp - 0xd2]
push edx
call fcn.005327a0
add esp, 8
test eax, eax
jne 0x42b633
mov eax, 0x3e7
mov word [ebp - 0x9e], ax
mov dword [ebp + 0x10], 0
cmp dword [ebp - 0x404], 1
jne 0x42ba37
mov dword [ebp - 0x2ec], 0
mov ecx, dword [ebp - 0x41c]
push ecx
call fcn.00532b62
add esp, 4
mov dword [ebp - 0x3fc], eax
push 0
push 4
mov edx, dword [ebp - 0x41c]
push edx
call fcn.00532940
add esp, 0xc
mov dword [ebp - 0x3f8], 1
jmp 0x42b68d
mov eax, dword [ebp - 0x3f8]
add eax, 1
mov dword [ebp - 0x3f8], eax
mov ecx, dword [ebp - 0x3f8]
cmp ecx, dword [ebp - 0x1e0]
jge 0x42b818
cmp dword [ebp - 0x2ec], 0
jne 0x42b818
mov edx, dword [ebp - 0x41c]
push edx
push 1
push 0xc8
lea eax, [ebp - 0x5f8]
push eax
call fcn.0053367b
add esp, 0x10
push 0
push 3
lea ecx, [ebp - 0x5f8]
push ecx
call fcn.0041aba0
add esp, 0xc
push 0xc8
lea edx, [ebp - 0x5f8]
push edx
lea eax, [ebp - 0xd8]
push eax
call fcn.0053387c
add esp, 0xc
test eax, eax
jne 0x42b70a
mov dword [ebp - 0x2ec], 1
jmp 0x42b813
movsx ecx, word [ebp - 0xd8]
cmp ecx, 2
jne 0x42b720
jmp 0x42b67e
movsx edx, word [ebp - 0xd8]
cmp edx, 1
jne 0x42b771
movsx eax, word [ebp - 0xd8]
movsx ecx, word [ebp - 0x5f8]
cmp eax, ecx
jne 0x42b771
movsx edx, word [ebp - 0xd6]
movsx eax, word [ebp - 0x5f6]
cmp edx, eax
jne 0x42b771
movsx ecx, word [ebp - 0xd4]
movsx edx, word [ebp - 0x5f4]
cmp ecx, edx
jne 0x42b771
mov dword [ebp - 0x2ec], 1
jmp 0x42b813
movsx eax, word [ebp - 0xd8]
movsx ecx, word [ebp - 0x5f8]
cmp eax, ecx
jne 0x42b813
movsx edx, word [ebp - 0xd6]
movsx eax, word [ebp - 0x5f6]
cmp edx, eax
jne 0x42b813
movsx ecx, word [ebp - 0xd4]
movsx edx, word [ebp - 0x5f4]
cmp ecx, edx
jne 0x42b813
lea eax, [ebp - 0x5f2]
push eax
lea ecx, [ebp - 0xd2]
push ecx
call fcn.005327a0
add esp, 8
test eax, eax
jne 0x42b813
mov edx, dword [ebp - 0xc8]
cmp edx, dword [ebp - 0x5e8]
jne 0x42b813
movsx eax, word [ebp - 0xcc]
movsx ecx, word [ebp - 0x5ec]
cmp eax, ecx
jne 0x42b813
movsx edx, word [ebp - 0xcc]
movsx eax, word [ebp - 0x5ea]
cmp edx, eax
jne 0x42b813
movsx ecx, word [ebp - 0xa8]
movsx edx, word [ebp - 0x5c8]
cmp ecx, edx
jne 0x42b813
mov dword [ebp - 0x2ec], 1
jmp 0x42b67e
push 0
mov eax, dword [ebp - 0x3fc]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call fcn.00532940
add esp, 0xc
cmp dword [ebp - 0x2ec], 1
jne 0x42b906
cmp dword [ebp - 4], 0
jne 0x42b901
movsx edx, word [ebp - 0xd8]
cmp edx, 0x7bc
jle 0x42b8a4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x52
push ecx
lea edx, [ebp - 0xd2]
push edx
movsx eax, word [ebp - 0xd4]
push eax
movsx ecx, word [ebp - 0xd6]
push ecx
movsx edx, word [ebp - 0xd8]
push edx
mov eax, dword [ebp + 0xc]
add eax, 9
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x29
push ecx
push str._s__s__d__d__d__s___s:_s_
lea edx, [ebp - 0x3f0]
push edx
call fcn.00532706
add esp, 0x28
jmp 0x42b8e9
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x52
push ecx
movsx edx, word [ebp - 0xd4]
push edx
movsx eax, word [ebp - 0xd6]
push eax
movsx ecx, word [ebp - 0xd8]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 9
push edx
mov eax, dword [ebp + 8]
add eax, 0x29
push eax
push str._s__s__d__d__d___s:_s_
lea ecx, [ebp - 0x3f0]
push ecx
call fcn.00532706
add esp, 0x24
lea edx, [ebp - 0x3f0]
push edx
push 1
call fcn.00436500
add esp, 8
mov dword [ebp - 4], 1
jmp 0x42b506
movsx eax, word [ebp - 0xd8]
cmp eax, 0x76c
jle 0x42b9a4
movsx ecx, word [ebp - 0xd8]
sub ecx, 0x7bc
shl ecx, 9
movsx edx, word [ebp - 0xd6]
shl edx, 5
add ecx, edx
movsx eax, word [ebp - 0xd4]
add ecx, eax
mov word [ebp - 8], cx
movsx ecx, word [ebp - 8]
movsx edx, word [ebp - 0x3f4]
add edx, 2
cmp ecx, edx
jle 0x42b97d
mov ax, word [ebp - 0x528]
mov word [ebp - 0xd8], ax
mov cx, word [ebp - 0x400]
mov word [ebp - 0xd6], cx
mov dx, word [ebp - 0x524]
mov word [ebp - 0xd4], dx
movsx eax, word [ebp - 0xd8]
mov dword [ebp - 0x528], eax
movsx ecx, word [ebp - 0xd6]
mov dword [ebp - 0x400], ecx
movsx edx, word [ebp - 0xd4]
mov dword [ebp - 0x524], edx
movsx eax, word [ebp - 0xd8]
cmp eax, 0x76c
jle 0x42b9c8
cmp dword [ebp - 0xc8], 0xf0
jle 0x42b9c8
mov dword [ebp - 0xc8], 0xf0
mov ecx, dword [ebp - 0x1dc]
add ecx, 1
mov dword [ebp - 0x1dc], ecx
mov edx, dword [ebp - 0x1dc]
sub edx, 1
imul edx, edx, 0xc8
add edx, 4
mov dword [ebp - 0x3fc], edx
push 0
mov eax, dword [ebp - 0x3fc]
push eax
mov ecx, dword [ebp - 0x1e4]
push ecx
call fcn.00532940
add esp, 0xc
push 0
push 3
lea edx, [ebp - 0xd8]
push edx
call fcn.0041aba0
add esp, 0xc
mov eax, dword [ebp - 0x1e4]
push eax
push 0xc8
push 1
lea ecx, [ebp - 0xd8]
push ecx
call fcn.005337fa
add esp, 0x10
jmp 0x42b506
mov edx, dword [ebp - 0x1dc]
push edx
mov eax, dword [ebp - 0x1e4]
push eax
call fcn.00455880
add esp, 8
mov ecx, dword [ebp - 0x41c]
push ecx
call fcn.00431d50
add esp, 4
mov edx, dword [ebp - 0x1e4]
push edx
call fcn.00431d50
add esp, 4
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004281d0
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
push 0x5c
mov eax, dword [ebp + 8]
add eax, 0x52
push eax
push 0x5c
lea ecx, [ebp - 0x418]
push ecx
push 0x5c44f8
push str._s_s_c_s.cls_c_s.BAD
lea edx, [ebp - 0x520]
push edx
call fcn.00532706
add esp, 0x20
lea eax, [ebp - 0x520]
push eax
lea ecx, [ebp - 0x2e8]
push ecx
call fcn.00488210
add esp, 8
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 1
jne 0x42bafd
lea edx, [ebp - 0x2e8]
push edx
lea eax, [ebp - 0x1d8]
push eax
call fcn.00488210
add esp, 8
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x52c], 1
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret