Function at 0x412c52
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [0xaad6b4], 0
mov eax, dword [0x51e26c]
cmp eax, 0x12b
jbe 0x412c84
mov eax, dword [0x51e26c]
cmp eax, 0x139
ja 0x412c84
mov dword [0xaad6b4], 1
mov eax, dword [0x62e288]
test eax, eax
je 0x412ca3
mov eax, dword [0x62e28c]
test eax, eax
jne 0x412ca3
mov eax, dword [0xaad6b4]
test eax, eax
je 0x41344f
mov dword [ebp - 0x10], 0
mov dword [0xaad6b8], 0
mov eax, dword [0x51e26c]
cmp eax, 1
jne 0x412cc8
mov dword [0xaad6b8], str.NEXT_without_FOR
mov eax, dword [0x51e26c]
cmp eax, 2
jne 0x412cdc
mov dword [0xaad6b8], str.Syntax_error
mov eax, dword [0x51e26c]
cmp eax, 3
jne 0x412cf0
mov dword [0xaad6b8], str.RETURN_without_GOSUB
mov eax, dword [0x51e26c]
cmp eax, 4
jne 0x412d04
mov dword [0xaad6b8], str.Out_of_DATA
mov eax, dword [0x51e26c]
cmp eax, 5
jne 0x412d18
mov dword [0xaad6b8], str.Illegal_function_call
mov eax, dword [0x51e26c]
cmp eax, 6
jne 0x412d2c
mov dword [0xaad6b8], str.Overflow
mov eax, dword [0x51e26c]
cmp eax, 7
jne 0x412d40
mov dword [0xaad6b8], str.Out_of_memory
mov eax, dword [0x51e26c]
cmp eax, 8
jne 0x412d54
mov dword [0xaad6b8], str.Label_not_defined
mov eax, dword [0x51e26c]
cmp eax, 9
jne 0x412d68
mov dword [0xaad6b8], str.Subscript_out_of_range
mov eax, dword [0x51e26c]
cmp eax, 0xa
jne 0x412d7c
mov dword [0xaad6b8], str.Duplicate_definition
mov eax, dword [0x51e26c]
cmp eax, 0xc
jne 0x412d90
mov dword [0xaad6b8], str.Illegal_in_direct_mode
mov eax, dword [0x51e26c]
cmp eax, 0xd
jne 0x412da4
mov dword [0xaad6b8], str.Type_mismatch
mov eax, dword [0x51e26c]
cmp eax, 0xe
jne 0x412db8
mov dword [0xaad6b8], str.Out_of_string_space
mov eax, dword [0x51e26c]
cmp eax, 0x10
jne 0x412dcc
mov dword [0xaad6b8], str.String_formula_too_complex
mov eax, dword [0x51e26c]
cmp eax, 0x11
jne 0x412de0
mov dword [0xaad6b8], str.Cannot_continue
mov eax, dword [0x51e26c]
cmp eax, 0x12
jne 0x412df4
mov dword [0xaad6b8], str.Function_not_defined
mov eax, dword [0x51e26c]
cmp eax, 0x13
jne 0x412e08
mov dword [0xaad6b8], str.No_RESUME
mov eax, dword [0x51e26c]
cmp eax, 0x14
jne 0x412e1c
mov dword [0xaad6b8], str.RESUME_without_error
mov eax, dword [0x51e26c]
cmp eax, 0x18
jne 0x412e30
mov dword [0xaad6b8], str.Device_timeout
mov eax, dword [0x51e26c]
cmp eax, 0x19
jne 0x412e44
mov dword [0xaad6b8], str.Device_fault
mov eax, dword [0x51e26c]
cmp eax, 0x1a
jne 0x412e58
mov dword [0xaad6b8], str.FOR_without_NEXT
mov eax, dword [0x51e26c]
cmp eax, 0x1b
jne 0x412e6c
mov dword [0xaad6b8], str.Out_of_paper
mov eax, dword [0x51e26c]
cmp eax, 0x1d
jne 0x412e80
mov dword [0xaad6b8], str.WHILE_without_WEND
mov eax, dword [0x51e26c]
cmp eax, 0x1e
jne 0x412e94
mov dword [0xaad6b8], str.WEND_without_WHILE
mov eax, dword [0x51e26c]
cmp eax, 0x21
jne 0x412ea8
mov dword [0xaad6b8], str.Duplicate_label
mov eax, dword [0x51e26c]
cmp eax, 0x23
jne 0x412ebc
mov dword [0xaad6b8], str.Subprogram_not_defined
mov eax, dword [0x51e26c]
cmp eax, 0x25
jne 0x412ed0
mov dword [0xaad6b8], str.Argument_count_mismatch
mov eax, dword [0x51e26c]
cmp eax, 0x26
jne 0x412ee4
mov dword [0xaad6b8], str.Array_not_defined
mov eax, dword [0x51e26c]
cmp eax, 0x28
jne 0x412ef8
mov dword [0xaad6b8], str.Variable_required
mov eax, dword [0x51e26c]
cmp eax, 0x32
jne 0x412f0c
mov dword [0xaad6b8], str.FIELD_overflow
mov eax, dword [0x51e26c]
cmp eax, 0x33
jne 0x412f20
mov dword [0xaad6b8], str.Internal_error
mov eax, dword [0x51e26c]
cmp eax, 0x34
jne 0x412f34
mov dword [0xaad6b8], str.Bad_file_name_or_number
mov eax, dword [0x51e26c]
cmp eax, 0x35
jne 0x412f48
mov dword [0xaad6b8], str.File_not_found
mov eax, dword [0x51e26c]
cmp eax, 0x36
jne 0x412f5c
mov dword [0xaad6b8], str.Bad_file_mode
mov eax, dword [0x51e26c]
cmp eax, 0x37
jne 0x412f70
mov dword [0xaad6b8], str.File_already_open
mov eax, dword [0x51e26c]
cmp eax, 0x38
jne 0x412f84
mov dword [0xaad6b8], str.FIELD_statement_active
mov eax, dword [0x51e26c]
cmp eax, 0x39
jne 0x412f98
mov dword [0xaad6b8], str.Device_I_O_error
mov eax, dword [0x51e26c]
cmp eax, 0x3a
jne 0x412fac
mov dword [0xaad6b8], str.File_already_exists
mov eax, dword [0x51e26c]
cmp eax, 0x3b
jne 0x412fc0
mov dword [0xaad6b8], str.Bad_record_length
mov eax, dword [0x51e26c]
cmp eax, 0x3d
jne 0x412fd4
mov dword [0xaad6b8], str.Disk_full
mov eax, dword [0x51e26c]
cmp eax, 0x3e
jne 0x412fe8
mov dword [0xaad6b8], str.Input_past_end_of_file
mov eax, dword [0x51e26c]
cmp eax, 0x3f
jne 0x412ffc
mov dword [0xaad6b8], str.Bad_record_number
mov eax, dword [0x51e26c]
cmp eax, 0x40
jne 0x413010
mov dword [0xaad6b8], str.Bad_file_name
mov eax, dword [0x51e26c]
cmp eax, 0x43
jne 0x413024
mov dword [0xaad6b8], str.Too_many_files
mov eax, dword [0x51e26c]
cmp eax, 0x44
jne 0x413038
mov dword [0xaad6b8], str.Device_unavailable
mov eax, dword [0x51e26c]
cmp eax, 0x45
jne 0x41304c
mov dword [0xaad6b8], str.Communication_buffer_overflow
mov eax, dword [0x51e26c]
cmp eax, 0x46
jne 0x413060
mov dword [0xaad6b8], str.Permission_denied
mov eax, dword [0x51e26c]
cmp eax, 0x47
jne 0x413074
mov dword [0xaad6b8], str.Disk_not_ready
mov eax, dword [0x51e26c]
cmp eax, 0x48
jne 0x413088
mov dword [0xaad6b8], str.Disk_media_error
mov eax, dword [0x51e26c]
cmp eax, 0x49
jne 0x41309c
mov dword [0xaad6b8], str.Feature_unavailable
mov eax, dword [0x51e26c]
cmp eax, 0x4a
jne 0x4130b0
mov dword [0xaad6b8], str.Rename_across_disks
mov eax, dword [0x51e26c]
cmp eax, 0x4b
jne 0x4130c4
mov dword [0xaad6b8], str.Path_File_access_error
mov eax, dword [0x51e26c]
cmp eax, 0x4c
jne 0x4130d8
mov dword [0xaad6b8], str.Path_not_found
mov eax, dword [0x51e26c]
cmp eax, 0x102
jne 0x4130ee
mov dword [0xaad6b8], str.Invalid_handle
mov eax, dword [0x51e26c]
cmp eax, 0x106
jne 0x413104
mov dword [0xaad6b8], str.Function_unavailable_in_QLOUD
mov eax, dword [0x51e26c]
cmp eax, 0x12c
jne 0x41311a
mov dword [0xaad6b8], str.Memory_region_out_of_range
mov eax, dword [0x51e26c]
cmp eax, 0x12d
jne 0x413130
mov dword [0xaad6b8], str.Invalid_size
mov eax, dword [0x51e26c]
cmp eax, 0x12e
jne 0x413146
mov dword [0xaad6b8], str.Source_memory_region_out_of_range
mov eax, dword [0x51e26c]
cmp eax, 0x12f
jne 0x41315c
mov dword [0xaad6b8], str.Destination_memory_region_out_of_range
mov eax, dword [0x51e26c]
cmp eax, 0x130
jne 0x413172
mov dword [0xaad6b8], str.Source_and_destination_memory_regions_out_of_range
mov eax, dword [0x51e26c]
cmp eax, 0x131
jne 0x413188
mov dword [0xaad6b8], str.Source_memory_has_been_freed
mov eax, dword [0x51e26c]
cmp eax, 0x132
jne 0x41319e
mov dword [0xaad6b8], str.Destination_memory_has_been_freed
mov eax, dword [0x51e26c]
cmp eax, 0x133
jne 0x4131b4
mov dword [0xaad6b8], str.Memory_already_freed
mov eax, dword [0x51e26c]
cmp eax, 0x134
jne 0x4131ca
mov dword [0xaad6b8], str.Memory_has_been_freed
mov eax, dword [0x51e26c]
cmp eax, 0x135
jne 0x4131e0
mov dword [0xaad6b8], str.Memory_not_initialized
mov eax, dword [0x51e26c]
cmp eax, 0x136
jne 0x4131f6
mov dword [0xaad6b8], str.Source_memory_not_initialized
mov eax, dword [0x51e26c]
cmp eax, 0x137
jne 0x41320c
mov dword [0xaad6b8], str.Destination_memory_not_initialized
mov eax, dword [0x51e26c]
cmp eax, 0x138
jne 0x413222
mov dword [0xaad6b8], str.Source_and_destination_memory_not_initialized
mov eax, dword [0x51e26c]
cmp eax, 0x139
jne 0x413238
mov dword [0xaad6b8], str.Source_and_destination_memory_have_been_freed
mov eax, dword [0xaad6b8]
test eax, eax
jne 0x41324b
mov dword [0xaad6b8], str.Unprintable_error
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
add eax, 0xaad6c0
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 [0x51e038]
mov edx, dword [ebp - 0xc]
add edx, 0xaad6c0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ef064
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 [0xaad6b8]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, dword [0xaad6b8]
mov ecx, dword [ebp - 0xc]
add ecx, 0xaad6c0
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [0xaad6b8]
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 [0xaad6b4]
test eax, eax
jne 0x413319
mov eax, dword [ebp - 0xc]
add eax, 0xaad6c0
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, 0xaad6c0
mov byte [eax], 0
mov dword [ebp - 0xc], 0
mov eax, dword [0xaad6b4]
test eax, eax
je 0x41335f
mov eax, dword [ebp - 0xc]
add eax, 0xaad7c0
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 0x413388
mov eax, dword [ebp - 0xc]
add eax, 0xaad7c0
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 [0x51e26c]
mov edx, dword [ebp - 0xc]
add edx, 0xaad7c0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4ef068
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, 0xaad7c0
mov byte [eax], 0
mov eax, dword [0xaad6b4]
test eax, eax
je 0x4133ff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xaad7c0
mov dword [esp + 4], 0xaad6c0
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], 0xaad7c0
mov dword [esp + 4], 0xaad6c0
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 0x413437
cmp dword [ebp - 0x10], 1
jne 0x413443
mov byte [0x51e248], 1
call fcn.00413b33
mov dword [0x51e26c], 0
jmp 0x413486
mov eax, dword [0x51e26c]
mov dword [0x51e258], eax
mov dword [0x51e26c], 0
fld qword [0x62e280]
fstp qword [0x51e260]
mov dword [0x51e268], 1
mov dword [esp], 0
call fcn.00405a63
nop
leave
ret