Function at 0x5045ec
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x675dd8]
cmp dword [eax + 0x224], 0
je 0x504605
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.00504820
pop ecx
mov eax, dword [0x675dd8]
mov ecx, dword [eax + 0x1c]
mov ebp, 0x66d1c8
cmp ecx, 0x18
jge 0x504632
mov eax, dword [eax + ecx*4 + 0x20]
push dword [eax*4 + 0x66bf10]
jmp 0x504633
push ebp
call fcn.00504820
pop ecx
mov edi, 0x66e040
push edi
push 0xa
call fcn.00514545
mov eax, dword [0x675dd8]
pop ecx
pop ecx
mov esi, dword [eax + 0x1c]
dec esi
js 0x504696
push ebx
lea ebx, [esi*4 + 0x20]
push str.______________called_from
call fcn.00504820
cmp esi, 0x18
pop ecx
jge 0x50467c
mov eax, dword [0x675dd8]
mov eax, dword [ebx + eax]
push dword [eax*4 + 0x66bf10]
jmp 0x50467d
push ebp
call fcn.00504820
pop ecx
push edi
push 0xa
call fcn.00514545
dec esi
pop ecx
sub ebx, 4
pop ecx
test esi, esi
jge 0x50465b
pop ebx
mov eax, dword [esp + 0x10]
pop edi
dec eax
pop esi
cmp eax, 0x1c
pop ebp
ja case.default.0x5046a7
jmp dword [eax*4 + 0x5047ac]
push str.Number_base_too_big_for_representation_n
jmp 0x50479f
push str.Division_by_zero_attempted_n
jmp 0x50479f
push str.Overflow___Number_too_big_n
jmp 0x50479f
push str.Internal_result_is_negative_n
jmp 0x50479f
push str.Input_format_error_n
jmp 0x50479f
push str.Illegal_number_base_n
jmp 0x50479f
push str.Illegal_parameter_usage_n
jmp 0x50479f
push str.Out_of_space_n
jmp 0x50479f
push str.Even_root_of_a_negative_number_n
jmp 0x50479f
push str.Raising_integer_to_negative_power_n
jmp 0x50479f
push str.Attempt_to_take_illegal_root_n
jmp 0x50479f
push str.Integer_operation_attempted_on_Flash_number_n
jmp 0x50479f
push str.Flash_overflow_n
jmp 0x50479f
push str.Numbers_too_big_n
jmp 0x50479f
push str.Log_of_a_non_positive_number_n
jmp 0x50479f
push str.Flash_to_double_conversion_failure_n
jmp 0x50479f
push str.I_O_buffer_overflow_n
jmp 0x50479f
push str.MIRACL_not_initialised___no_call_to_mirsys___n
jmp 0x50479f
push str.Illegal_modulus__n
jmp 0x50479f
push str.No_modulus_defined_n
jmp 0x50479f
push str.Exponent_too_big_n
jmp 0x50479f
push str.Unsupported_Feature___check_mirdef.h_n
jmp 0x50479f
push str.Specified_double_length_type_isnt_double_length_n
jmp 0x50479f
push str.Specified_basis_is_NOT_irreducible_n
jmp 0x50479f
push str.Unable_to_control_Floating_point_rounding_n
jmp 0x50479f
push str.Base_must_be_binary__MR_ALWAYS_BINARY_defined_in_mirdef.h____n
jmp 0x50479f
push str.No_irreducible_basis_defined_n
jmp 0x50479f
push str.Composite_modulus_n
jmp 0x50479f
push str.Input_output_error_when_reading_from_RNG_device_node_n
jmp 0x50479f
push str.Undefined_error_n
call fcn.00504820
pop ecx
push 0
call fcn.0051137c
scasb al, byte es:[edi]
inc esi
push eax
add byte [eax - 0x3dffafba], bh
inc esi
push eax
add ah, cl
inc esi
push eax
add dh, dl
inc esi
push eax
add al, ah
inc esi
push eax
add dl, ch
inc esi
push eax
add ah, dh
inc esi
push eax
add dh, bh
inc esi
push eax
add byte [eax], cl
inc edi
push eax
add byte [edx], dl
inc edi
push eax
add byte [edi + eax*2], bl
push eax
add byte [ebx], ah
inc edi
push eax
add byte [edx], ch
inc edi
push eax
add byte [ecx], dh
inc edi
push eax
add byte [eax], bh
inc edi
push eax
add byte [edi], bh
inc edi
push eax
add byte [esi + 0x47], al
push eax
add byte [ebp + 0x47], cl
push eax
add byte [edi + eax*2 + 0x50], dl
add byte [ebx + 0x47], bl
push eax
add byte [edx + 0x47], ah
push eax
add byte [ecx + 0x47], ch
push eax
add byte [eax + 0x47], dh
push eax
add byte [edi + 0x47], dh
push eax
add byte [esi + 0x47], bh
push eax
add byte [ebp - 0x73ffafb9], al
inc edi
push eax
add byte [ebx + 0x56005047], dl
push esi
mov esi, dword [esp + 8]
mov al, byte [esi]
test al, al
je 0x50483e
movsx eax, al
push 0x66e040
push eax
inc esi
call fcn.00514545
pop ecx
pop ecx
jmp 0x504825
pop esi
ret