Function at 0x412886
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [0xaac6b4], 0
mov eax, dword [0x51d26c]
cmp eax, 0x12b
jbe 0x4128b8
mov eax, dword [0x51d26c]
cmp eax, 0x139
ja 0x4128b8
mov dword [0xaac6b4], 1
mov eax, dword [0x62d288]
test eax, eax
je 0x4128d7
mov eax, dword [0x62d28c]
test eax, eax
jne 0x4128d7
mov eax, dword [0xaac6b4]
test eax, eax
je 0x413083
mov dword [ebp - 0x10], 0
mov dword [0xaac6b8], 0
mov eax, dword [0x51d26c]
cmp eax, 1
jne 0x4128fc
mov dword [0xaac6b8], str.NEXT_without_FOR
mov eax, dword [0x51d26c]
cmp eax, 2
jne 0x412910
mov dword [0xaac6b8], str.Syntax_error
mov eax, dword [0x51d26c]
cmp eax, 3
jne 0x412924
mov dword [0xaac6b8], str.RETURN_without_GOSUB
mov eax, dword [0x51d26c]
cmp eax, 4
jne 0x412938
mov dword [0xaac6b8], str.Out_of_DATA
mov eax, dword [0x51d26c]
cmp eax, 5
jne 0x41294c
mov dword [0xaac6b8], str.Illegal_function_call
mov eax, dword [0x51d26c]
cmp eax, 6
jne 0x412960
mov dword [0xaac6b8], str.Overflow
mov eax, dword [0x51d26c]
cmp eax, 7
jne 0x412974
mov dword [0xaac6b8], str.Out_of_memory
mov eax, dword [0x51d26c]
cmp eax, 8
jne 0x412988
mov dword [0xaac6b8], str.Label_not_defined
mov eax, dword [0x51d26c]
cmp eax, 9
jne 0x41299c
mov dword [0xaac6b8], str.Subscript_out_of_range
mov eax, dword [0x51d26c]
cmp eax, 0xa
jne 0x4129b0
mov dword [0xaac6b8], str.Duplicate_definition
mov eax, dword [0x51d26c]
cmp eax, 0xc
jne 0x4129c4
mov dword [0xaac6b8], str.Illegal_in_direct_mode
mov eax, dword [0x51d26c]
cmp eax, 0xd
jne 0x4129d8
mov dword [0xaac6b8], str.Type_mismatch
mov eax, dword [0x51d26c]
cmp eax, 0xe
jne 0x4129ec
mov dword [0xaac6b8], str.Out_of_string_space
mov eax, dword [0x51d26c]
cmp eax, 0x10
jne 0x412a00
mov dword [0xaac6b8], str.String_formula_too_complex
mov eax, dword [0x51d26c]
cmp eax, 0x11
jne 0x412a14
mov dword [0xaac6b8], str.Cannot_continue
mov eax, dword [0x51d26c]
cmp eax, 0x12
jne 0x412a28
mov dword [0xaac6b8], str.Function_not_defined
mov eax, dword [0x51d26c]
cmp eax, 0x13
jne 0x412a3c
mov dword [0xaac6b8], str.No_RESUME
mov eax, dword [0x51d26c]
cmp eax, 0x14
jne 0x412a50
mov dword [0xaac6b8], str.RESUME_without_error
mov eax, dword [0x51d26c]
cmp eax, 0x18
jne 0x412a64
mov dword [0xaac6b8], str.Device_timeout
mov eax, dword [0x51d26c]
cmp eax, 0x19
jne 0x412a78
mov dword [0xaac6b8], str.Device_fault
mov eax, dword [0x51d26c]
cmp eax, 0x1a
jne 0x412a8c
mov dword [0xaac6b8], str.FOR_without_NEXT
mov eax, dword [0x51d26c]
cmp eax, 0x1b
jne 0x412aa0
mov dword [0xaac6b8], str.Out_of_paper
mov eax, dword [0x51d26c]
cmp eax, 0x1d
jne 0x412ab4
mov dword [0xaac6b8], str.WHILE_without_WEND
mov eax, dword [0x51d26c]
cmp eax, 0x1e
jne 0x412ac8
mov dword [0xaac6b8], str.WEND_without_WHILE
mov eax, dword [0x51d26c]
cmp eax, 0x21
jne 0x412adc
mov dword [0xaac6b8], str.Duplicate_label
mov eax, dword [0x51d26c]
cmp eax, 0x23
jne 0x412af0
mov dword [0xaac6b8], str.Subprogram_not_defined
mov eax, dword [0x51d26c]
cmp eax, 0x25
jne 0x412b04
mov dword [0xaac6b8], str.Argument_count_mismatch
mov eax, dword [0x51d26c]
cmp eax, 0x26
jne 0x412b18
mov dword [0xaac6b8], str.Array_not_defined
mov eax, dword [0x51d26c]
cmp eax, 0x28
jne 0x412b2c
mov dword [0xaac6b8], str.Variable_required
mov eax, dword [0x51d26c]
cmp eax, 0x32
jne 0x412b40
mov dword [0xaac6b8], str.FIELD_overflow
mov eax, dword [0x51d26c]
cmp eax, 0x33
jne 0x412b54
mov dword [0xaac6b8], str.Internal_error
mov eax, dword [0x51d26c]
cmp eax, 0x34
jne 0x412b68
mov dword [0xaac6b8], str.Bad_file_name_or_number
mov eax, dword [0x51d26c]
cmp eax, 0x35
jne 0x412b7c
mov dword [0xaac6b8], str.File_not_found
mov eax, dword [0x51d26c]
cmp eax, 0x36
jne 0x412b90
mov dword [0xaac6b8], str.Bad_file_mode
mov eax, dword [0x51d26c]
cmp eax, 0x37
jne 0x412ba4
mov dword [0xaac6b8], str.File_already_open
mov eax, dword [0x51d26c]
cmp eax, 0x38
jne 0x412bb8
mov dword [0xaac6b8], str.FIELD_statement_active
mov eax, dword [0x51d26c]
cmp eax, 0x39
jne 0x412bcc
mov dword [0xaac6b8], str.Device_I_O_error
mov eax, dword [0x51d26c]
cmp eax, 0x3a
jne 0x412be0
mov dword [0xaac6b8], str.File_already_exists
mov eax, dword [0x51d26c]
cmp eax, 0x3b
jne 0x412bf4
mov dword [0xaac6b8], str.Bad_record_length
mov eax, dword [0x51d26c]
cmp eax, 0x3d
jne 0x412c08
mov dword [0xaac6b8], str.Disk_full
mov eax, dword [0x51d26c]
cmp eax, 0x3e
jne 0x412c1c
mov dword [0xaac6b8], str.Input_past_end_of_file
mov eax, dword [0x51d26c]
cmp eax, 0x3f
jne 0x412c30
mov dword [0xaac6b8], str.Bad_record_number
mov eax, dword [0x51d26c]
cmp eax, 0x40
jne 0x412c44
mov dword [0xaac6b8], str.Bad_file_name
mov eax, dword [0x51d26c]
cmp eax, 0x43
jne 0x412c58
mov dword [0xaac6b8], str.Too_many_files
mov eax, dword [0x51d26c]
cmp eax, 0x44
jne 0x412c6c
mov dword [0xaac6b8], str.Device_unavailable
mov eax, dword [0x51d26c]
cmp eax, 0x45
jne 0x412c80
mov dword [0xaac6b8], str.Communication_buffer_overflow
mov eax, dword [0x51d26c]
cmp eax, 0x46
jne 0x412c94
mov dword [0xaac6b8], str.Permission_denied
mov eax, dword [0x51d26c]
cmp eax, 0x47
jne 0x412ca8
mov dword [0xaac6b8], str.Disk_not_ready
mov eax, dword [0x51d26c]
cmp eax, 0x48
jne 0x412cbc
mov dword [0xaac6b8], str.Disk_media_error
mov eax, dword [0x51d26c]
cmp eax, 0x49
jne 0x412cd0
mov dword [0xaac6b8], str.Feature_unavailable
mov eax, dword [0x51d26c]
cmp eax, 0x4a
jne 0x412ce4
mov dword [0xaac6b8], str.Rename_across_disks
mov eax, dword [0x51d26c]
cmp eax, 0x4b
jne 0x412cf8
mov dword [0xaac6b8], str.Path_File_access_error
mov eax, dword [0x51d26c]
cmp eax, 0x4c
jne 0x412d0c
mov dword [0xaac6b8], str.Path_not_found
mov eax, dword [0x51d26c]
cmp eax, 0x102
jne 0x412d22
mov dword [0xaac6b8], str.Invalid_handle
mov eax, dword [0x51d26c]
cmp eax, 0x106
jne 0x412d38
mov dword [0xaac6b8], str.Function_unavailable_in_QLOUD
mov eax, dword [0x51d26c]
cmp eax, 0x12c
jne 0x412d4e
mov dword [0xaac6b8], str.Memory_region_out_of_range
mov eax, dword [0x51d26c]
cmp eax, 0x12d
jne 0x412d64
mov dword [0xaac6b8], str.Invalid_size
mov eax, dword [0x51d26c]
cmp eax, 0x12e
jne 0x412d7a
mov dword [0xaac6b8], str.Source_memory_region_out_of_range
mov eax, dword [0x51d26c]
cmp eax, 0x12f
jne 0x412d90
mov dword [0xaac6b8], str.Destination_memory_region_out_of_range
mov eax, dword [0x51d26c]
cmp eax, 0x130
jne 0x412da6
mov dword [0xaac6b8], str.Source_and_destination_memory_regions_out_of_range
mov eax, dword [0x51d26c]
cmp eax, 0x131
jne 0x412dbc
mov dword [0xaac6b8], str.Source_memory_has_been_freed
mov eax, dword [0x51d26c]
cmp eax, 0x132
jne 0x412dd2
mov dword [0xaac6b8], str.Destination_memory_has_been_freed
mov eax, dword [0x51d26c]
cmp eax, 0x133
jne 0x412de8
mov dword [0xaac6b8], str.Memory_already_freed
mov eax, dword [0x51d26c]
cmp eax, 0x134
jne 0x412dfe
mov dword [0xaac6b8], str.Memory_has_been_freed
mov eax, dword [0x51d26c]
cmp eax, 0x135
jne 0x412e14
mov dword [0xaac6b8], str.Memory_not_initialized
mov eax, dword [0x51d26c]
cmp eax, 0x136
jne 0x412e2a
mov dword [0xaac6b8], str.Source_memory_not_initialized
mov eax, dword [0x51d26c]
cmp eax, 0x137
jne 0x412e40
mov dword [0xaac6b8], str.Destination_memory_not_initialized
mov eax, dword [0x51d26c]
cmp eax, 0x138
jne 0x412e56
mov dword [0xaac6b8], str.Source_and_destination_memory_not_initialized
mov eax, dword [0x51d26c]
cmp eax, 0x139
jne 0x412e6c
mov dword [0xaac6b8], str.Source_and_destination_memory_have_been_freed
mov eax, dword [0xaac6b8]
test eax, eax
jne 0x412e7f
mov dword [0xaac6b8], str.Unprintable_error
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
add eax, 0xaac6c0
mov dword [esp + 8], 5
mov dword [esp + 4], str.Line:
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0xc]
add eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [0x51d038]
mov edx, dword [ebp - 0xc]
add edx, 0xaac6c0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ee044
mov dword [esp], edx
call sub.msvcrt.dll_sprintf
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [0xaac6b8]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, dword [0xaac6b8]
mov ecx, dword [ebp - 0xc]
add ecx, 0xaac6c0
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [0xaac6b8]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [0xaac6b4]
test eax, eax
jne 0x412f4d
mov eax, dword [ebp - 0xc]
add eax, 0xaac6c0
mov dword [esp + 8], 0xa
mov dword [esp + 4], str._nContinue_
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0xc]
add eax, 0xa
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0xaac6c0
mov byte [eax], 0
mov dword [ebp - 0xc], 0
mov eax, dword [0xaac6b4]
test eax, eax
je 0x412f93
mov eax, dword [ebp - 0xc]
add eax, 0xaac7c0
mov dword [esp + 8], 0x10
mov dword [esp + 4], str.Critical_Error_
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
jmp 0x412fbc
mov eax, dword [ebp - 0xc]
add eax, 0xaac7c0
mov dword [esp + 8], 0x11
mov dword [esp + 4], str.Unhandled_Error_
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0xc]
add eax, 0x11
mov dword [ebp - 0xc], eax
mov eax, dword [0x51d26c]
mov edx, dword [ebp - 0xc]
add edx, 0xaac7c0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ee048
mov dword [esp], edx
call sub.msvcrt.dll_sprintf
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0xaac7c0
mov byte [eax], 0
mov eax, dword [0xaac6b4]
test eax, eax
je 0x413033
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xaac7c0
mov dword [esp + 4], 0xaac6c0
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [esp], 0
call sub.msvcrt.dll_exit
mov dword [esp + 0xc], 0x1004
mov dword [esp + 8], 0xaac7c0
mov dword [esp + 4], 0xaac6c0
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 7
je 0x41306b
cmp dword [ebp - 0x10], 1
jne 0x413077
mov byte [0x51d248], 1
call fcn.00413767
mov dword [0x51d26c], 0
jmp 0x4130ba
mov eax, dword [0x51d26c]
mov dword [0x51d258], eax
mov dword [0x51d26c], 0
fld qword [0x62d280]
fstp qword [0x51d260]
mov dword [0x51d268], 1
mov dword [esp], 0
call fcn.00405a56
nop
leave
ret