Function at 0x497a31
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dc676
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x52472c]
xor eax, esp
mov dword [esp + 0x1e8], eax
push ebx
push esi
push edi
mov eax, dword [0x52472c]
xor eax, esp
push eax
lea eax, [esp + 0x200]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x20], edi
call fcn.00409f6f
xor ebx, ebx
mov dword [esp + 0x208], ebx
mov esi, 0x501108
push esi
call fcn.004b3950
pop ecx
push eax
mov eax, esi
lea esi, [esp + 0x5c]
call fcn.00408ea1
mov esi, dword [esp + 0x6c]
and dword [esp + 0x14], ebx
push ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x90], 7
call fcn.0040364b
mov byte [esp + 0x208], 1
test esi, esi
jbe 0x49846c
mov eax, dword [esp + 0x14]
sub eax, 0
je 0x498077
dec eax
je 0x497f67
dec eax
je 0x497d4e
dec eax
je 0x497cd8
dec eax
je 0x497c43
dec eax
jne 0x498462
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
movzx esi, word [eax]
lea eax, [esp + 0xb4]
push eax
call fcn.004984bc
mov byte [esp + 0x208], 0xd
cmp si, 0x3d
jne 0x497b3f
mov dword [esp + 0xb4], 3
inc ebx
jmp 0x497c1a
cmp si, 0x3c
jne 0x497ba0
lea esi, [ebx + 1]
push esi
lea ecx, [esp + 0x5c]
call fcn.00408b09
movzx eax, word [eax]
cmp ax, 0x3e
jne 0x497b68
mov dword [esp + 0xb4], 9
jmp 0x497b8c
cmp ax, 0x3c
jne 0x497b7b
mov dword [esp + 0xb4], 0xb
jmp 0x497b8c
cmp ax, 0x3d
jne 0x497b93
mov dword [esp + 0xb4], 7
inc ebx
inc ebx
jmp 0x497c1a
mov dword [esp + 0xb4], 5
jmp 0x497bfa
cmp si, 0x3e
jne 0x497bfe
lea esi, [ebx + 1]
push esi
lea ecx, [esp + 0x5c]
call fcn.00408b09
movzx eax, word [eax]
cmp ax, 0x3c
jne 0x497bc9
mov dword [esp + 0xb4], 0x13
jmp 0x497b8c
cmp ax, 0x3e
jne 0x497bdc
mov dword [esp + 0xb4], 0x11
jmp 0x497b8c
cmp ax, 0x3d
jne 0x497bef
mov dword [esp + 0xb4], 0xf
jmp 0x497b8c
mov dword [esp + 0xb4], 0xd
mov ebx, esi
jmp 0x497c1a
push 0x501474
lea ecx, [esp + 0xc0]
mov dword [esp + 0xb8], 0x17
call fcn.00404325
and dword [esp + 0x14], 0
lea eax, [esp + 0xb4]
push eax
lea esi, [edi + 0x24]
call fcn.00498591
mov byte [esp + 0x208], 1
lea eax, [esp + 0xb4]
jmp 0x49845c
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
movzx eax, word [eax]
push eax
call fcn.004b4305
pop ecx
test eax, eax
jne 0x497cb9
lea eax, [esp + 0x144]
push eax
call fcn.004984bc
mov byte [esp + 0x208], 6
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x158]
mov dword [esp + 0x150], 0x17
call fcn.00403fe5
and dword [esp + 0x14], 0
lea eax, [esp + 0x144]
push eax
lea esi, [edi + 0x24]
call fcn.00498591
mov byte [esp + 0x208], 1
lea eax, [esp + 0x144]
jmp 0x49845c
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
movzx eax, word [eax]
push eax
push 1
lea ecx, [esp + 0x7c]
call fcn.0041af79
inc ebx
jmp 0x498462
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
movzx eax, word [eax]
push eax
call fcn.004b4318
pop ecx
test eax, eax
jne 0x497cb9
lea eax, [esp + 0x1b0]
push eax
call fcn.004984bc
mov byte [esp + 0x208], 7
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x1c4]
mov dword [esp + 0x1bc], 0x16
call fcn.00403fe5
and dword [esp + 0x14], 0
lea eax, [esp + 0x1b0]
push eax
lea esi, [edi + 0x24]
call fcn.00498591
mov byte [esp + 0x208], 1
lea eax, [esp + 0x1b0]
jmp 0x49845c
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
movzx eax, word [eax]
push eax
call fcn.004b4318
pop ecx
test eax, eax
jne 0x497cb9
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x5f
je 0x497cb9
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x2e
je 0x497cb9
lea eax, [esp + 0x90]
push eax
call fcn.004984bc
mov byte [esp + 0x208], 8
lea edi, [esp + 0x74]
mov dword [esp + 0x90], 0x14
call fcn.00498508
test al, al
je 0x497dca
mov dword [esp + 0x90], 0x18
push 0xffffffffffffffff
xor esi, esi
push esi
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0xa4]
call fcn.00403fe5
mov dword [esp + 0x94], esi
cmp dword [esp + 0x88], esi
je 0x497edc
cmp dword [esp + 0x90], 0x14
jne 0x497edc
push esi
lea ecx, [esp + 0x78]
call fcn.00408b09
cmp word [eax], 0x25
jne 0x497e1f
mov dword [esp + 0x94], 1
jmp 0x497e9a
push esi
lea ecx, [esp + 0x78]
call fcn.00408b09
cmp word [eax], 0x24
jne 0x497e3c
mov dword [esp + 0x94], 2
jmp 0x497e9a
push esi
lea ecx, [esp + 0x78]
call fcn.00408b09
cmp word [eax], 0x3f
jne 0x497e59
mov dword [esp + 0x94], 3
jmp 0x497e9a
push esi
lea ecx, [esp + 0x78]
call fcn.00408b09
cmp word [eax], 0x26
jne 0x497e76
mov dword [esp + 0x94], 4
jmp 0x497e9a
push esi
lea ecx, [esp + 0x78]
call fcn.00408b09
cmp word [eax], 0x21
jne 0x497e91
mov dword [esp + 0x94], 5
cmp dword [esp + 0x94], esi
je 0x497edc
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0040d97f
mov byte [esp + 0x208], 9
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0xa4]
call fcn.00403fe5
mov byte [esp + 0x208], 8
push esi
push 1
lea ecx, [esp + 0x44]
call fcn.004035c5
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x20]
cmp ecx, esi
je 0x497f3c
cmp dword [esp + 0x90], 0x14
jne 0x497f3c
mov eax, dword [esp + 0x94]
cmp eax, esi
jne 0x497f0b
mov eax, dword [ecx]
lea edx, [esp + 0x98]
push edx
call dword [eax + 4]
jmp 0x497f3a
cmp eax, 2
je 0x497f2e
cmp eax, 3
je 0x497f2e
cmp eax, 4
je 0x497f1f
cmp eax, 5
jne 0x497f3c
mov eax, dword [ecx]
lea edx, [esp + 0x98]
push edx
call dword [eax + 8]
jmp 0x497f3a
mov eax, dword [ecx]
lea edx, [esp + 0x98]
push edx
call dword [eax]
or byte [edi], al
and dword [esp + 0x14], 0
lea eax, [esp + 0x90]
mov esi, edi
push eax
add esi, 0x24
call fcn.00498591
mov byte [esp + 0x208], 1
lea eax, [esp + 0x90]
jmp 0x49845c
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 1
jne 0x497fff
lea eax, [esp + 0x168]
push eax
call fcn.004984bc
mov byte [esp + 0x208], 0xa
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x170], 0x17
call fcn.00451e00
pop ecx
pop ecx
mov byte [esp + 0x208], 0xb
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [esp + 0x17c]
call fcn.00403fe5
mov byte [esp + 0x208], 0xa
push esi
push 1
lea ecx, [esp + 0x28]
call fcn.004035c5
lea eax, [esp + 0x168]
mov dword [esp + 0x14], esi
push eax
lea esi, [edi + 0x24]
call fcn.00498591
mov byte [esp + 0x208], 1
lea eax, [esp + 0x168]
jmp 0x49806c
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x22
jne 0x497cb9
lea eax, [esp + 0x18c]
push eax
call fcn.004984bc
mov byte [esp + 0x208], 0xc
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x198], 0x15
call fcn.00403fe5
and dword [esp + 0x14], 0
lea eax, [esp + 0x18c]
push eax
lea esi, [edi + 0x24]
call fcn.00498591
mov byte [esp + 0x208], 1
lea eax, [esp + 0x18c]
push eax
call fcn.004984e1
jmp 0x497cd2
lea eax, [esp + 0x120]
push eax
call fcn.004984bc
mov byte [esp + 0x208], 2
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x29
jne 0x4980bc
mov dword [esp + 0x120], 1
lea eax, [esp + 0x120]
push eax
lea esi, [edi + 0x24]
call fcn.00498591
jmp 0x49844c
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x28
jne 0x4980d6
and dword [esp + 0x120], 0
jmp 0x4980a7
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x3d
jne 0x4980f3
mov dword [esp + 0x120], 2
jmp 0x4980a7
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x3c
jne 0x4981b9
lea eax, [esp + 0xfc]
push eax
call fcn.004984bc
mov byte [esp + 0x208], 3
lea esi, [ebx + 1]
mov dword [esp + 0xfc], 4
cmp esi, dword [esp + 0x18]
jne 0x49813d
mov dword [esp + 0xfc], 4
jmp 0x498194
push esi
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x3d
jne 0x49815a
mov dword [esp + 0xfc], 6
jmp 0x498192
push esi
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x3e
jne 0x498177
mov dword [esp + 0xfc], 8
jmp 0x498192
push esi
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x3c
jne 0x498194
mov dword [esp + 0xfc], 0xa
mov ebx, esi
lea eax, [esp + 0xfc]
push eax
lea esi, [edi + 0x24]
inc ebx
call fcn.00498591
mov byte [esp + 0x208], 2
lea eax, [esp + 0xfc]
jmp 0x49827a
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x3e
jne 0x498285
lea eax, [esp + 0xd8]
push eax
call fcn.004984bc
mov byte [esp + 0x208], 4
lea esi, [ebx + 1]
mov dword [esp + 0xd8], 0xc
cmp esi, dword [esp + 0x18]
jne 0x498203
mov dword [esp + 0xd8], 0xc
jmp 0x49825a
push esi
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x3d
jne 0x498220
mov dword [esp + 0xd8], 0xe
jmp 0x498258
push esi
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x3e
jne 0x49823d
mov dword [esp + 0xd8], 0x10
jmp 0x498258
push esi
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x3c
jne 0x49825a
mov dword [esp + 0xd8], 0x12
mov ebx, esi
lea eax, [esp + 0xd8]
push eax
lea esi, [edi + 0x24]
inc ebx
call fcn.00498591
mov byte [esp + 0x208], 2
lea eax, [esp + 0xd8]
push eax
call fcn.004984e1
jmp 0x49844d
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x7e
jne 0x4982a2
mov dword [esp + 0x14], 5
jmp 0x49844c
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
movzx eax, word [eax]
push eax
call fcn.004b42c9
pop ecx
test eax, eax
jne 0x498421
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x5f
je 0x498421
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x24
je 0x498421
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x26
je 0x498421
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x3f
je 0x498421
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x21
je 0x498421
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x25
je 0x498421
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
movzx eax, word [eax]
push eax
call fcn.004b4318
pop ecx
test eax, eax
je 0x498358
mov dword [esp + 0x14], 3
jmp 0x498393
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
cmp word [eax], 0x22
jne 0x498373
mov dword [esp + 0x14], 1
inc ebx
jmp 0x498393
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
movzx eax, word [eax]
push eax
call fcn.004b4305
pop ecx
test eax, eax
je 0x4983a2
mov dword [esp + 0x14], 4
lea eax, [esp + 0x74]
push eax
call int.00419fd8
jmp 0x49844d
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
movzx eax, word [eax]
push eax
call fcn.004b432e
pop ecx
test eax, eax
je 0x49844c
lea eax, [esp + 0x1d4]
push eax
call fcn.004984bc
mov byte [esp + 0x208], 5
push ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1d8], 0x18
call fcn.00408b09
movzx eax, word [eax]
push eax
push 1
lea ecx, [esp + 0x1e4]
call fcn.0044d2c0
lea eax, [esp + 0x1d4]
push eax
lea esi, [edi + 0x24]
call fcn.00498591
mov byte [esp + 0x208], 2
lea eax, [esp + 0x1d4]
push eax
call fcn.004984e1
jmp 0x49844c
lea eax, [esp + 0x74]
push eax
call int.00419fd8
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408b09
movzx eax, word [eax]
push eax
push 1
lea ecx, [esp + 0x7c]
call fcn.0044d2c0
mov dword [esp + 0x14], 2
inc ebx
mov byte [esp + 0x208], 1
lea eax, [esp + 0x120]
push eax
call fcn.004984e1
cmp ebx, dword [esp + 0x18]
jb 0x497ad6
mov byte [esp + 0x208], 0
push 0
push 1
lea ecx, [esp + 0x7c]
call fcn.004035c5
or dword [esp + 0x208], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x60]
call fcn.004035c5
mov al, 1
mov ecx, dword [esp + 0x200]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e8]
xor ecx, esp
call fcn.004b1fae
mov esp, ebp
pop ebp
ret