Function at 0x656ca2
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6574d2
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
mov edx, eax
dec edx
movzx edx, byte [edx]
cmp edx, 0x2e
jg 0x656d39
je 0x656dfe
cmp edx, 0x28
jg 0x656d21
je 0x657189
sub edx, 1
jb 0x6572cf
sub edx, 0x23
je 0x656db6
jmp 0x657565
sub edx, 0x29
je 0x6572cf
dec edx
sub edx, 2
jb 0x6572e0
jmp 0x657565
cmp edx, 0x5c
jg 0x656d5b
je 0x6572f1
sub edx, 0x3f
je 0x6572e0
sub edx, 0x1c
je 0x656e44
jmp 0x657565
sub edx, 0x5e
je 0x656d6e
sub edx, 0x1e
je 0x6572cf
jmp 0x657565
mov eax, dword [ebp - 4]
test byte [eax + 0x3f8], 0x10
je 0x656d92
mov eax, dword [ebp - 4]
cmp dword [eax + 0x410], 0
jne 0x656da4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x414], 0
jne 0x656da4
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
jmp 0x65773a
mov dl, 0x22
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
jmp 0x65773a
mov eax, dword [ebp - 4]
test byte [eax + 0x3f8], 0x10
je 0x656dda
mov eax, dword [ebp - 4]
cmp dword [eax + 0x410], 0
jne 0x656dec
mov eax, dword [ebp - 4]
cmp byte [eax + 0x414], 0
jne 0x656dec
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
jmp 0x65773a
mov dl, 0x23
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
jmp 0x65773a
mov eax, dword [ebp - 4]
test byte [eax + 0x3f8], 4
je 0x656e2c
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x65773a
mov dl, 0x24
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
or dword [eax], 1
jmp 0x65773a
cmp byte [eax], 0x5e
jne 0x656e7a
mov eax, dword [ebp - 4]
test byte [eax + 0x3f8], 1
je 0x656e63
push ebp
mov al, 0x16
call fcn.006566fe
pop ecx
mov dword [ebp - 8], eax
jmp 0x656e6f
push ebp
mov al, 5
call fcn.006566fe
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
jmp 0x656ea0
mov eax, dword [ebp - 4]
test byte [eax + 0x3f8], 1
je 0x656e94
push ebp
mov al, 0x15
call fcn.006566fe
pop ecx
mov dword [ebp - 8], eax
jmp 0x656ea0
push ebp
mov al, 4
call fcn.006566fe
pop ecx
mov dword [ebp - 8], eax
mov byte [ebp - 0x3f], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
movzx eax, byte [eax]
cmp al, 0x5d
jne 0x657123
push ebp
call fcn.00656afe
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
jmp 0x657123
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x3c8]
cmp byte [esi], 0x2d
jne 0x657069
mov eax, esi
inc eax
cmp byte [eax], 0
je 0x657069
inc esi
cmp byte [esi], 0x5d
je 0x657069
cmp byte [ebp - 0x3f], 0
je 0x657069
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
movzx ebx, byte [eax]
cmp bl, 0x5c
jne 0x656f60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
inc eax
movzx eax, byte [eax]
add al, 0xc0
cmp al, 0x37
ja 0x656f36
and eax, 0x7f
bt dword [0x6574e4], eax
jae 0x656f46
push ebp
mov al, 0x2d
call fcn.006567fa
pop ecx
jmp 0x657123
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
push ebp
mov eax, dword [ebp - 4]
add eax, 0x3c8
call fcn.00656b52
pop ecx
mov ebx, eax
mov eax, dword [ebp - 4]
test byte [eax + 0x3f8], 2
je 0x656f98
cmp byte [ebp - 0x40], 0xe0
jne 0x656f98
cmp bl, 0xff
jne 0x656f98
push ebp
lea eax, [ebp - 0x48]
mov edx, 0x694a88
mov ecx, 0x22
call fcn.004052d2
mov eax, dword [ebp - 0x48]
call fcn.00656b1a
pop ecx
jmp 0x65705b
mov eax, dword [ebp - 4]
test byte [eax + 0x3f8], 2
je 0x656fd0
cmp byte [ebp - 0x40], 0xc0
jne 0x656fd0
cmp bl, 0xdf
jne 0x656fd0
push ebp
lea eax, [ebp - 0x4c]
mov edx, 0x694aac
mov ecx, 0x22
call fcn.004052d2
mov eax, dword [ebp - 0x4c]
call fcn.00656b1a
pop ecx
jmp 0x65705b
mov eax, dword [ebp - 4]
test byte [eax + 0x3f8], 2
je 0x657021
cmp byte [ebp - 0x40], 0xe0
jne 0x657021
cmp bl, 0xdf
jne 0x657021
push ebp
lea eax, [ebp - 0x50]
mov edx, 0x694a88
mov ecx, 0x22
call fcn.004052d2
mov eax, dword [ebp - 0x50]
call fcn.00656b1a
pop ecx
push ebp
lea eax, [ebp - 0x54]
mov edx, 0x694aac
mov ecx, 0x22
call fcn.004052d2
mov eax, dword [ebp - 0x54]
call fcn.00656b1a
pop ecx
jmp 0x65705b
cmp bl, byte [ebp - 0x40]
jae 0x657037
mov edx, 0x6d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x65773d
inc byte [ebp - 0x40]
push ebp
mov eax, ebx
call fcn.006567fa
pop ecx
cmp bl, byte [ebp - 0x40]
jbe 0x65705b
push ebp
movzx eax, byte [ebp - 0x40]
call fcn.006567fa
pop ecx
inc byte [ebp - 0x40]
cmp bl, byte [ebp - 0x40]
ja 0x657048
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
jmp 0x657123
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
cmp byte [eax], 0x5c
jne 0x657107
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
cmp byte [eax], 0
jne 0x6570a3
mov edx, 0x6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x65773d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
movzx eax, byte [eax]
sub al, 0x64
je 0x6570bd
sub al, 0xf
je 0x6570dd
sub al, 4
je 0x6570cb
jmp 0x6570ef
push ebp
mov eax, 0x6574f4
call fcn.00656b1a
pop ecx
jmp 0x65711a
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x404]
call fcn.00656b1a
pop ecx
jmp 0x65711a
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x400]
call fcn.00656b1a
pop ecx
jmp 0x65711a
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0x3c8
call fcn.00656b52
pop ecx
call fcn.00656afe
pop ecx
jmp 0x65711a
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
movzx eax, byte [eax]
call fcn.00656afe
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
cmp byte [eax], 0
je 0x657143
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
cmp byte [eax], 0x5d
jne 0x656ecd
push ebp
xor eax, eax
call fcn.006567fa
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
cmp byte [eax], 0x5d
je 0x65716b
mov edx, 0x71
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x65773d
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x65773a
cmp byte [eax], 0x3f
jne 0x65729f
inc eax
cmp byte [eax], 0x23
jne 0x6571fb
mov eax, dword [ebp - 4]
add dword [eax + 0x3c8], 2
jmp 0x6571ad
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
movzx eax, byte [eax]
test al, al
je 0x6571c1
cmp al, 0x29
jne 0x6571a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
cmp byte [eax], 0x29
je 0x6571e0
mov edx, 0x7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x65773d
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
jmp 0x65773a
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c8]
jmp 0x657218
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
movzx eax, byte [eax]
test al, al
je 0x65722c
cmp al, 0x29
jne 0x65720f
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x3c8]
cmp byte [esi], 0x29
jne 0x657273
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
mov edx, ebx
call fcn.0040525a
mov eax, dword [ebp - 0x5c]
mov ecx, esi
sub ecx, ebx
mov edx, 1
call fcn.00405586
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x3f8]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00655566
test al, al
jne 0x657284
mov edx, 0x7f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x65773d
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
jmp 0x65773a
lea ecx, [ebp - 0x44]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00655d0e
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x6572bf
xor edi, edi
jmp 0x65773d
mov eax, dword [ebp - 0x44]
and eax, 5
mov edx, dword [ebp - 0xc]
or dword [edx], eax
jmp 0x65773a
mov edx, 0x72
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x65773d
mov edx, 0x73
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x65773d
cmp byte [eax], 0
jne 0x657307
mov edx, 0x74
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x65773d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
movzx eax, byte [eax]
cmp eax, 0x57
jg 0x657352
je 0x6574b9
cmp eax, 0x42
jg 0x65733b
je 0x657391
add eax, 0xffffffcf
sub eax, 9
jb 0x6574f0
sub eax, 7
je 0x6573a3
jmp 0x657541
sub eax, 0x44
je 0x6573e9
sub eax, 0xf
je 0x657445
jmp 0x657541
cmp eax, 0x64
jg 0x657368
je 0x6573c7
sub eax, 0x5a
je 0x6573b5
sub eax, 8
je 0x65737f
jmp 0x657541
sub eax, 0x73
je 0x65740b
sub eax, 4
je 0x65747f
jmp 0x657541
mov dl, 0x25
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
jmp 0x657557
mov dl, 0x26
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
jmp 0x657557
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
jmp 0x657557
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
jmp 0x657557
mov dl, 0xc
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x657557
mov dl, 0xd
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x657557
push ebp
mov al, 4
call fcn.006566fe
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x400]
call fcn.00656b1a
pop ecx
push ebp
xor eax, eax
call fcn.006567fa
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x657557
push ebp
mov al, 5
call fcn.006566fe
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x400]
call fcn.00656b1a
pop ecx
push ebp
xor eax, eax
call fcn.006567fa
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x657557
push ebp
mov al, 4
call fcn.006566fe
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x404]
call fcn.00656b1a
pop ecx
push ebp
xor eax, eax
call fcn.006567fa
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x657557
push ebp
mov al, 5
call fcn.006566fe
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x404]
call fcn.00656b1a
pop ecx
push ebp
xor eax, eax
call fcn.006567fa
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x657557
mov eax, dword [ebp - 4]
test byte [eax + 0x3f8], 1
je 0x65750b
mov dl, 0x1d
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
jmp 0x657518
mov dl, 0x1c
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
movzx edx, byte [eax]
sub dl, 0x30
mov eax, dword [ebp - 4]
call fcn.006559ba
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x657557
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0x3c8
call fcn.00656b52
pop ecx
call fcn.0065664a
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
jmp 0x65773a
mov eax, dword [ebp - 4]
dec dword [eax + 0x3c8]
mov edx, dword [ebp - 4]
test byte [edx + 0x3f8], 0x20
je 0x657627
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
movzx eax, byte [eax]
cmp al, 0x23
je 0x6575a0
add al, 0xf7
sub al, 2
jb 0x6575a0
sub al, 2
je 0x6575a0
sub al, 0x13
jne 0x657627
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
cmp byte [eax], 0x23
jne 0x6575fb
jmp 0x6575b9
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
movzx eax, byte [eax]
test al, al
je 0x6575dc
cmp al, 0xd
je 0x6575dc
cmp al, 0xa
jne 0x6575b0
jmp 0x6575dc
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
movzx eax, byte [eax]
cmp al, 0xd
je 0x6575d3
cmp al, 0xa
je 0x6575d3
jmp 0x657615
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
movzx eax, byte [eax]
add al, 0xf7
sub al, 2
jb 0x6575f2
sub al, 2
je 0x6575f2
sub al, 0x13
je 0x6575f2
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
jmp 0x65773a
mov edx, 0x694a78
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
call fcn.00655a42
mov ebx, eax
test ebx, ebx
jg 0x65766f
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c8]
cmp byte [ebx], 0x7b
je 0x65765f
mov edx, 0x77
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x65773d
mov edx, 0x694a78
mov eax, ebx
inc eax
call fcn.00655a42
inc eax
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
add eax, ebx
movzx eax, byte [eax]
cmp ebx, 1
jle 0x657693
cmp al, 0x2a
je 0x657692
cmp al, 0x2b
je 0x657692
cmp al, 0x3f
je 0x657692
cmp al, 0x7b
jne 0x657693
dec ebx
mov eax, dword [ebp - 0xc]
or dword [eax], 1
cmp ebx, 1
jne 0x6576a4
mov eax, dword [ebp - 0xc]
or dword [eax], 2
mov eax, dword [ebp - 4]
test byte [eax + 0x3f8], 1
je 0x6576bf
mov dl, 0x14
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
jmp 0x657712
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.0065597e
mov dword [ebp - 8], eax
jmp 0x657712
mov eax, dword [ebp - 4]
test byte [eax + 0x3f8], 0x20
je 0x6576f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
movzx eax, byte [eax]
add al, 0xf7
sub al, 2
jb 0x657708
sub al, 2
je 0x657708
sub al, 0x13
je 0x657708
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
movzx edx, byte [eax]
mov eax, dword [ebp - 4]
call fcn.006559ba
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c8]
dec ebx
test ebx, ebx
jle 0x657730
mov eax, dword [ebp - 4]
test byte [eax + 0x3f8], 0x20
je 0x6576ce
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
cmp byte [eax], 0x23
jne 0x6576ce
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.006559ba
mov edi, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6574d9
lea eax, [ebp - 0x5c]
mov edx, 6
call fcn.00405086
ret