Function at 0x489d96
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x507e6c]
cmp dword [eax + 0x224], 0
je 0x489daf
mov ecx, dword [esp + 4]
mov dword [eax + 0x228], ecx
ret
push ebp
push esi
push edi
push str._nMIRACL_error_from_routine
call fcn.00489fca
pop ecx
mov eax, dword [0x507e6c]
mov ecx, dword [eax + 0x1c]
mov ebp, 0x502a44
cmp ecx, 0x18
jge 0x489ddc
mov eax, dword [eax + ecx*4 + 0x20]
push dword [eax*4 + 0x50178c]
jmp 0x489ddd
push ebp
call fcn.00489fca
pop ecx
mov edi, 0x503e78
push edi
push 0xa
call fcn.00499fb0
mov eax, dword [0x507e6c]
pop ecx
pop ecx
mov esi, dword [eax + 0x1c]
dec esi
js 0x489e40
push ebx
lea ebx, [esi*4 + 0x20]
push str.______________called_from
call fcn.00489fca
cmp esi, 0x18
pop ecx
jge 0x489e26
mov eax, dword [0x507e6c]
mov eax, dword [ebx + eax]
push dword [eax*4 + 0x50178c]
jmp 0x489e27
push ebp
call fcn.00489fca
pop ecx
push edi
push 0xa
call fcn.00499fb0
dec esi
pop ecx
sub ebx, 4
pop ecx
test esi, esi
jge 0x489e05
pop ebx
mov eax, dword [esp + 0x10]
pop edi
dec eax
pop esi
cmp eax, 0x1c
pop ebp
ja case.default.0x489e51
jmp dword [eax*4 + 0x489f56]
push str.Number_base_too_big_for_representation_n
jmp 0x489f49
push str.Division_by_zero_attempted_n
jmp 0x489f49
push str.Overflow___Number_too_big_n
jmp 0x489f49
push str.Internal_result_is_negative_n
jmp 0x489f49
push str.Input_format_error_n
jmp 0x489f49
push str.Illegal_number_base_n
jmp 0x489f49
push str.Illegal_parameter_usage_n
jmp 0x489f49
push str.Out_of_space_n
jmp 0x489f49
push str.Even_root_of_a_negative_number_n
jmp 0x489f49
push str.Raising_integer_to_negative_power_n
jmp 0x489f49
push str.Attempt_to_take_illegal_root_n
jmp 0x489f49
push str.Integer_operation_attempted_on_Flash_number_n
jmp 0x489f49
push str.Flash_overflow_n
jmp 0x489f49
push str.Numbers_too_big_n
jmp 0x489f49
push str.Log_of_a_non_positive_number_n
jmp 0x489f49
push str.Flash_to_double_conversion_failure_n
jmp 0x489f49
push str.I_O_buffer_overflow_n
jmp 0x489f49
push str.MIRACL_not_initialised___no_call_to_mirsys___n
jmp 0x489f49
push str.Illegal_modulus__n
jmp 0x489f49
push str.No_modulus_defined_n
jmp 0x489f49
push str.Exponent_too_big_n
jmp 0x489f49
push str.Unsupported_Feature___check_mirdef.h_n
jmp 0x489f49
push str.Specified_double_length_type_isnt_double_length_n
jmp 0x489f49
push str.Specified_basis_is_NOT_irreducible_n
jmp 0x489f49
push str.Unable_to_control_Floating_point_rounding_n
jmp 0x489f49
push str.Base_must_be_binary__MR_ALWAYS_BINARY_defined_in_mirdef.h____n
jmp 0x489f49
push str.No_irreducible_basis_defined_n
jmp 0x489f49
push str.Composite_modulus_n
jmp 0x489f49
push str.Input_output_error_when_reading_from_RNG_device_node_n
jmp 0x489f49
push str.Undefined_error_n
call fcn.00489fca
pop ecx
push 0
call fcn.0049a525
pop eax
sahf
dec eax
add byte [edx - 0x62], ah
dec eax
add byte [esi + ebx*4 + 0x48], ch
add byte [esi - 0x62], dh
dec eax
add byte [eax - 0x75ffb762], al
sahf
dec eax
add byte [esi + ebx*4 - 0x6161ffb8], dl
dec eax
add byte [eax - 0x4dffb762], ch
sahf
dec eax
add byte [esi + ebx*4 - 0x6139ffb8], bh
dec eax
add ch, cl
sahf
dec eax
add ah, dl
sahf
dec eax
add bl, bl
sahf
dec eax
add dl, ah
sahf
dec eax
add cl, ch
sahf
dec eax
add al, dh
sahf
dec eax
add bh, dh
sahf
dec eax
add dh, bh
sahf
dec eax
add byte [0xc00489f], al
lahf
dec eax
add byte [ebx], dl
lahf
dec eax
add byte [edx], bl
lahf
dec eax
add byte [ecx], ah
lahf
dec eax
add byte [eax], ch
lahf
dec eax
add byte [edi], ch
lahf
dec eax
add byte [esi], dh
lahf
dec eax
add byte [0x5600489f], bh
push esi
mov esi, dword [esp + 8]
mov al, byte [esi]
test al, al
je 0x489fe8
movsx eax, al
push 0x503e78
push eax
inc esi
call fcn.00499fb0
pop ecx
pop ecx
jmp 0x489fcf
pop esi
ret