Function at 0x1013eea0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ecx]
mov esi, ecx
mov bl, byte [eax]
test bl, bl
je 0x1013f073
mov edi, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], eax
movsx eax, bl
push eax
push edi
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
jne 0x1013f083
mov eax, dword [ebp - 0x10]
xor edi, edi
lea ecx, [eax + 1]
mov dword [ebp - 0x14], ecx
test bl, bl
je 0x1013f06e
cmp bl, 0x3d
je 0x1013ef16
movsx eax, bl
push 0x41
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789__
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x1013f06e
mov eax, dword [ebp - 0x14]
dec edi
mov bl, byte [eax]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
jmp 0x1013eedf
test edi, edi
je 0x1013f06e
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp + 8]
movsx ebx, byte [edi]
test ebx, ebx
je 0x1013efc1
mov edi, dword [ebp - 0x14]
cmp ebx, esi
je 0x1013efc1
mov edi, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x20]
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
jne 0x1013efbe
push ebx
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
jne 0x1013efac
cmp bl, 0x25
jne 0x1013f06e
movsx eax, byte [edi + 1]
push 0x17
push eax
push str.0123456789abcdefABCDEF
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
mov esi, 0xffffffff
je 0x1013f079
movsx eax, byte [edi + 2]
push 0x17
push eax
push str.0123456789abcdefABCDEF
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x1013f079
mov esi, dword [ebp + 8]
add edi, 2
movsx ebx, byte [edi + 1]
mov eax, dword [ebp - 0x10]
inc edi
test ebx, ebx
je 0x1013efc1
cmp ebx, esi
jne 0x1013ef40
jmp 0x1013efc1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edi
mov ebx, dword [ebp + 0x14]
sub edi, ecx
lea esi, [ecx - 1]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp + 0x10]
sub esi, eax
mov eax, esi
mov ecx, dword [edi]
mov dword [ebp - 0x28], ecx
push ecx
mov esi, eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp esi, eax
mov eax, esi
jne 0x1013f004
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x10]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov eax, esi
je 0x1013f02d
add edi, 4
dec ebx
jne 0x1013efd9
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x10]
push dword [ebp + 0x24]
push sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push eax
call fcn.1013fa30
add esp, 0x14
test eax, eax
je 0x1013f04b
jmp 0x1013f06e
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x10]
push 0
push dword [ebp + 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push eax
call fcn.1013fa30
add esp, 0x14
test eax, eax
jne 0x1013f08d
mov ecx, dword [ebp - 0x24]
mov al, byte [ecx]
test al, al
je 0x1013f088
cmp al, 0x3f
je 0x1013f088
mov bl, byte [ecx + 1]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
inc ecx
mov eax, ecx
test bl, bl
jne 0x1013eebc
jmp 0x1013f075
xor esi, esi
dec esi
jmp 0x1013f079
mov ecx, eax
mov dword [esi], ecx
xor esi, esi
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x10]
jmp 0x1013f075
mov esi, dword [ebp - 0x18]
jmp 0x1013f075
mov esi, eax
jmp 0x1013f079