Function at 0x653664
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x65366c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x654182
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
mov edx, eax
sub edx, 2
movzx edx, word [edx]
cmp edx, 0x2e
jg 0x6536f4
je 0x6537c1
cmp edx, 0x28
jg 0x6536dc
je 0x653bb3
sub edx, 1
jb 0x653d15
sub edx, 0x23
je 0x653775
jmp 0x653f66
sub edx, 0x29
je 0x653d15
dec edx
sub edx, 2
jb 0x653d26
jmp 0x653f66
cmp edx, 0x5c
jg 0x653716
je 0x653d37
sub edx, 0x3f
je 0x653d26
sub edx, 0x1c
je 0x65380b
jmp 0x653f66
sub edx, 0x5e
je 0x653729
sub edx, 0x1e
je 0x653d15
jmp 0x653f66
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x10
je 0x65374d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x108], 0
jne 0x653761
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x653761
mov dx, 1
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
jmp 0x654164
mov dx, 0x22
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
jmp 0x654164
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x10
je 0x653799
mov eax, dword [ebp - 4]
cmp dword [eax + 0x108], 0
jne 0x6537ad
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x6537ad
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
jmp 0x654164
mov dx, 0x23
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
jmp 0x654164
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 4
je 0x6537f1
mov dx, 3
mov eax, dword [ebp - 4]
call fcn.00652650
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 0x654164
mov dx, 0x24
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
or dword [eax], 1
jmp 0x654164
cmp word [eax], 0x5e
jne 0x653847
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x65382d
push ebp
mov ax, 0x16
call fcn.00653474
pop ecx
mov dword [ebp - 8], eax
jmp 0x65383b
push ebp
mov ax, 5
call fcn.00653474
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x653871
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x653863
push ebp
mov ax, 0x15
call fcn.00653474
pop ecx
mov dword [ebp - 8], eax
jmp 0x653871
push ebp
mov ax, 4
call fcn.00653474
pop ecx
mov dword [ebp - 8], eax
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
cmp ax, 0x5d
jne 0x653b49
push ebp
call fcn.006534a0
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x653b49
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc0]
cmp word [esi], 0x2d
jne 0x653a85
mov eax, esi
add eax, 2
cmp word [eax], 0
je 0x653a85
add esi, 2
cmp word [esi], 0x5d
je 0x653a85
cmp byte [ebp - 0xd], 0
je 0x653a85
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edi, word [eax]
cmp di, 0x5c
jne 0x65396a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
add eax, 2
movzx eax, word [eax]
cmp ax, 0x100
jae 0x65394f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
add eax, 2
movzx eax, word [eax]
add eax, 0xffffffc0
cmp ax, 0x37
ja 0x65393d
and eax, 0x7f
mov edx, 0x654194
mov ecx, edx
and ecx, 3
sub edx, ecx
add ecx, ecx
add ecx, ecx
add ecx, ecx
add eax, ecx
bt dword [edx], eax
jae 0x65394f
push ebp
mov ax, 0x2d
call fcn.00653488
pop ecx
jmp 0x653b49
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
push ebp
mov eax, dword [ebp - 4]
add eax, 0xc0
call fcn.006534f8
pop ecx
mov edi, eax
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 2
je 0x6539a6
cmp word [ebp - 0x10], 0x430
jne 0x6539a6
cmp di, 0x44f
jne 0x6539a6
push ebp
lea eax, [ebp - 0x18]
mov edx, 0x6b6006
mov ecx, 0x22
call fcn.00407ed4
mov eax, dword [ebp - 0x18]
call fcn.006534c0
pop ecx
jmp 0x653a76
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 2
je 0x6539e2
cmp word [ebp - 0x10], 0x410
jne 0x6539e2
cmp di, 0x42f
jne 0x6539e2
push ebp
lea eax, [ebp - 0x1c]
mov edx, 0x6b604a
mov ecx, 0x22
call fcn.00407ed4
mov eax, dword [ebp - 0x1c]
call fcn.006534c0
pop ecx
jmp 0x653a76
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 2
je 0x653a37
cmp word [ebp - 0x10], 0x430
jne 0x653a37
cmp di, 0x42f
jne 0x653a37
push ebp
lea eax, [ebp - 0x20]
mov edx, 0x6b6006
mov ecx, 0x22
call fcn.00407ed4
mov eax, dword [ebp - 0x20]
call fcn.006534c0
pop ecx
push ebp
lea eax, [ebp - 0x24]
mov edx, 0x6b604a
mov ecx, 0x22
call fcn.00407ed4
mov eax, dword [ebp - 0x24]
call fcn.006534c0
pop ecx
jmp 0x653a76
cmp di, word [ebp - 0x10]
jae 0x653a4e
mov edx, 0x6d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x654167
inc word [ebp - 0x10]
push ebp
mov eax, edi
call fcn.00653488
pop ecx
cmp di, word [ebp - 0x10]
jbe 0x653a76
push ebp
movzx eax, word [ebp - 0x10]
call fcn.00653488
pop ecx
inc word [ebp - 0x10]
cmp di, word [ebp - 0x10]
ja 0x653a61
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x653b49
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x5c
jne 0x653b2c
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0
jne 0x653ac2
mov edx, 0x6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x654167
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
sub ax, 0x64
je 0x653ae2
sub ax, 0xf
je 0x653b02
sub ax, 4
je 0x653af0
jmp 0x653b14
push ebp
mov eax, 0x6541a8
call fcn.006534c0
pop ecx
jmp 0x653b3f
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xfc]
call fcn.006534c0
pop ecx
jmp 0x653b3f
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
call fcn.006534c0
pop ecx
jmp 0x653b3f
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xc0
call fcn.006534f8
pop ecx
call fcn.006534a0
pop ecx
jmp 0x653b3f
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
call fcn.006534a0
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0
je 0x653b6b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x5d
jne 0x6538a1
push ebp
xor eax, eax
call fcn.00653488
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x5d
je 0x653b94
mov edx, 0x71
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x654167
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
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 0x654164
cmp word [eax], 0x3f
jne 0x653ce5
add eax, 2
cmp word [eax], 0x23
jne 0x653c31
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 4
jmp 0x653bdc
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
test ax, ax
je 0x653bf3
cmp ax, 0x29
jne 0x653bd2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x29
je 0x653c13
mov edx, 0x7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x654167
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
jmp 0x654164
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc0]
jmp 0x653c50
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
test ax, ax
je 0x653c67
cmp ax, 0x29
jne 0x653c46
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xc0]
cmp word [edi], 0x29
jne 0x653cb6
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov edx, esi
call fcn.00407e80
mov eax, dword [ebp - 0x2c]
mov ecx, edi
sub ecx, esi
sar ecx, 1
jns 0x653c92
adc ecx, 0
mov edx, 1
call fcn.00408254
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
lea ecx, [eax + 0xf0]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00652234
test al, al
jne 0x653cc7
mov edx, 0x7f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x654167
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
jmp 0x654164
lea ecx, [ebp - 0x14]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.006529d0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x653d05
xor ebx, ebx
jmp 0x654167
mov eax, dword [ebp - 0x14]
and eax, 5
mov edx, dword [ebp - 0xc]
or dword [edx], eax
jmp 0x654164
mov edx, 0x72
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x654167
mov edx, 0x73
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x654167
cmp word [eax], 0
jne 0x653d4e
mov edx, 0x74
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x654167
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
cmp eax, 0x57
jg 0x653d99
je 0x653eca
cmp eax, 0x42
jg 0x653d82
je 0x653dda
add eax, 0xffffffcf
sub eax, 9
jb 0x653eeb
sub eax, 7
je 0x653dee
jmp 0x653f41
sub eax, 0x44
je 0x653e3a
sub eax, 0xf
je 0x653e82
jmp 0x653f41
cmp eax, 0x64
jg 0x653daf
je 0x653e16
sub eax, 0x5a
je 0x653e02
sub eax, 8
je 0x653dc6
jmp 0x653f41
sub eax, 0x73
je 0x653e5e
sub eax, 4
je 0x653ea6
jmp 0x653f41
mov dx, 0x25
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
jmp 0x653f57
mov dx, 0x26
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
jmp 0x653f57
mov dx, 1
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
jmp 0x653f57
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
jmp 0x653f57
mov dx, 0xc
mov eax, dword [ebp - 4]
call fcn.00652650
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 0x653f57
mov dx, 0xd
mov eax, dword [ebp - 4]
call fcn.00652650
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 0x653f57
mov dx, 0x10
mov eax, dword [ebp - 4]
call fcn.00652650
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 0x653f57
mov dx, 0x11
mov eax, dword [ebp - 4]
call fcn.00652650
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 0x653f57
mov dx, 0xe
mov eax, dword [ebp - 4]
call fcn.00652650
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 0x653f57
mov dx, 0xf
mov eax, dword [ebp - 4]
call fcn.00652650
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 0x653f57
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x653f08
mov dx, 0x1d
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
jmp 0x653f17
mov dx, 0x1c
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edx, word [eax]
sub dx, 0x30
mov eax, dword [ebp - 4]
call fcn.00652690
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 0x653f57
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xc0
call fcn.006534f8
pop ecx
call fcn.006533ac
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x654164
mov eax, dword [ebp - 4]
sub dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x20
je 0x65403c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx esi, word [eax]
cmp si, 0x23
je 0x653fa6
mov edx, esi
mov eax, 0x6541c0
call fcn.00650afc
test eax, eax
je 0x65403c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x23
jne 0x65400e
jmp 0x653fc1
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
test ax, ax
je 0x653fea
cmp ax, 0xd
je 0x653fea
cmp ax, 0xa
jne 0x653fb7
jmp 0x653fea
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
cmp ax, 0xd
je 0x653fe0
cmp ax, 0xa
je 0x653fe0
jmp 0x654028
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edx, word [eax]
mov eax, 0x6541c0
call fcn.00650afc
test eax, eax
jne 0x654004
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
jmp 0x654164
mov edx, 0x6b5fec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
call fcn.00652730
mov esi, eax
test esi, esi
jg 0x654087
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc0]
cmp word [esi], 0x7b
je 0x654075
mov edx, 0x77
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x654167
mov edx, 0x6b5fec
mov eax, esi
add eax, 2
call fcn.00652730
inc eax
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
mov edx, esi
add edx, edx
add eax, edx
movzx eax, word [eax]
cmp esi, 1
jle 0x6540b7
cmp ax, 0x2a
je 0x6540b6
cmp ax, 0x2b
je 0x6540b6
cmp ax, 0x3f
je 0x6540b6
cmp ax, 0x7b
jne 0x6540b7
dec esi
mov eax, dword [ebp - 0xc]
or dword [eax], 1
cmp esi, 1
jne 0x6540c8
mov eax, dword [ebp - 0xc]
or dword [eax], 2
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x6540e5
mov dx, 0x14
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
jmp 0x65413b
mov dx, 8
mov eax, dword [ebp - 4]
call fcn.00652650
mov dword [ebp - 8], eax
jmp 0x65413b
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x20
je 0x65411c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edx, word [eax]
mov eax, 0x6541c0
call fcn.00650afc
test eax, eax
jne 0x654130
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edx, word [eax]
mov eax, dword [ebp - 4]
call fcn.00652690
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
dec esi
test esi, esi
jle 0x65415a
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x20
je 0x6540f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x23
jne 0x6540f6
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00652690
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x654189
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.004071a8
ret