Function at 0x4977a7
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dbf7a
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.00409e5e
xor ebx, ebx
mov dword [esp + 0x208], ebx
mov esi, 0x501078
push esi
call fcn.004b3310
pop ecx
push eax
mov eax, esi
lea esi, [esp + 0x5c]
call fcn.00408d63
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.00403660
mov byte [esp + 0x208], 1
test esi, esi
jbe 0x4981e2
mov eax, dword [esp + 0x14]
sub eax, 0
je 0x497ded
dec eax
je 0x497cdd
dec eax
je 0x497ac4
dec eax
je 0x497a4e
dec eax
je 0x4979b9
dec eax
jne 0x4981d8
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
movzx esi, word [eax]
lea eax, [esp + 0xb4]
push eax
call fcn.00498232
mov byte [esp + 0x208], 0xd
cmp si, 0x3d
jne 0x4978b5
mov dword [esp + 0xb4], 3
inc ebx
jmp 0x497990
cmp si, 0x3c
jne 0x497916
lea esi, [ebx + 1]
push esi
lea ecx, [esp + 0x5c]
call fcn.00408a54
movzx eax, word [eax]
cmp ax, 0x3e
jne 0x4978de
mov dword [esp + 0xb4], 9
jmp 0x497902
cmp ax, 0x3c
jne 0x4978f1
mov dword [esp + 0xb4], 0xb
jmp 0x497902
cmp ax, 0x3d
jne 0x497909
mov dword [esp + 0xb4], 7
inc ebx
inc ebx
jmp 0x497990
mov dword [esp + 0xb4], 5
jmp 0x497970
cmp si, 0x3e
jne 0x497974
lea esi, [ebx + 1]
push esi
lea ecx, [esp + 0x5c]
call fcn.00408a54
movzx eax, word [eax]
cmp ax, 0x3c
jne 0x49793f
mov dword [esp + 0xb4], 0x13
jmp 0x497902
cmp ax, 0x3e
jne 0x497952
mov dword [esp + 0xb4], 0x11
jmp 0x497902
cmp ax, 0x3d
jne 0x497965
mov dword [esp + 0xb4], 0xf
jmp 0x497902
mov dword [esp + 0xb4], 0xd
mov ebx, esi
jmp 0x497990
push 0x5013e4
lea ecx, [esp + 0xc0]
mov dword [esp + 0xb8], 0x17
call fcn.0040433a
and dword [esp + 0x14], 0
lea eax, [esp + 0xb4]
push eax
lea esi, [edi + 0x24]
call fcn.00498307
mov byte [esp + 0x208], 1
lea eax, [esp + 0xb4]
jmp 0x4981d2
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
movzx eax, word [eax]
push eax
call fcn.004b3cc5
pop ecx
test eax, eax
jne 0x497a2f
lea eax, [esp + 0x144]
push eax
call fcn.00498232
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.00403ffa
and dword [esp + 0x14], 0
lea eax, [esp + 0x144]
push eax
lea esi, [edi + 0x24]
call fcn.00498307
mov byte [esp + 0x208], 1
lea eax, [esp + 0x144]
jmp 0x4981d2
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
movzx eax, word [eax]
push eax
push 1
lea ecx, [esp + 0x7c]
call fcn.0041abb3
inc ebx
jmp 0x4981d8
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
movzx eax, word [eax]
push eax
call fcn.004b3cd8
pop ecx
test eax, eax
jne 0x497a2f
lea eax, [esp + 0x1b0]
push eax
call fcn.00498232
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.00403ffa
and dword [esp + 0x14], 0
lea eax, [esp + 0x1b0]
push eax
lea esi, [edi + 0x24]
call fcn.00498307
mov byte [esp + 0x208], 1
lea eax, [esp + 0x1b0]
jmp 0x4981d2
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
movzx eax, word [eax]
push eax
call fcn.004b3cd8
pop ecx
test eax, eax
jne 0x497a2f
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x5f
je 0x497a2f
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x2e
je 0x497a2f
lea eax, [esp + 0x90]
push eax
call fcn.00498232
mov byte [esp + 0x208], 8
lea edi, [esp + 0x74]
mov dword [esp + 0x90], 0x14
call fcn.0049827e
test al, al
je 0x497b40
mov dword [esp + 0x90], 0x18
push 0xffffffffffffffff
xor esi, esi
push esi
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0xa4]
call fcn.00403ffa
mov dword [esp + 0x94], esi
cmp dword [esp + 0x88], esi
je 0x497c52
cmp dword [esp + 0x90], 0x14
jne 0x497c52
push esi
lea ecx, [esp + 0x78]
call fcn.00408a54
cmp word [eax], 0x25
jne 0x497b95
mov dword [esp + 0x94], 1
jmp 0x497c10
push esi
lea ecx, [esp + 0x78]
call fcn.00408a54
cmp word [eax], 0x24
jne 0x497bb2
mov dword [esp + 0x94], 2
jmp 0x497c10
push esi
lea ecx, [esp + 0x78]
call fcn.00408a54
cmp word [eax], 0x3f
jne 0x497bcf
mov dword [esp + 0x94], 3
jmp 0x497c10
push esi
lea ecx, [esp + 0x78]
call fcn.00408a54
cmp word [eax], 0x26
jne 0x497bec
mov dword [esp + 0x94], 4
jmp 0x497c10
push esi
lea ecx, [esp + 0x78]
call fcn.00408a54
cmp word [eax], 0x21
jne 0x497c07
mov dword [esp + 0x94], 5
cmp dword [esp + 0x94], esi
je 0x497c52
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0040d824
mov byte [esp + 0x208], 9
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0xa4]
call fcn.00403ffa
mov byte [esp + 0x208], 8
push esi
push 1
lea ecx, [esp + 0x44]
call fcn.004035da
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x20]
cmp ecx, esi
je 0x497cb2
cmp dword [esp + 0x90], 0x14
jne 0x497cb2
mov eax, dword [esp + 0x94]
cmp eax, esi
jne 0x497c81
mov eax, dword [ecx]
lea edx, [esp + 0x98]
push edx
call dword [eax + 4]
jmp 0x497cb0
cmp eax, 2
je 0x497ca4
cmp eax, 3
je 0x497ca4
cmp eax, 4
je 0x497c95
cmp eax, 5
jne 0x497cb2
mov eax, dword [ecx]
lea edx, [esp + 0x98]
push edx
call dword [eax + 8]
jmp 0x497cb0
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.00498307
mov byte [esp + 0x208], 1
lea eax, [esp + 0x90]
jmp 0x4981d2
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 1
jne 0x497d75
lea eax, [esp + 0x168]
push eax
call fcn.00498232
mov byte [esp + 0x208], 0xa
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x170], 0x17
call fcn.00451b60
pop ecx
pop ecx
mov byte [esp + 0x208], 0xb
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [esp + 0x17c]
call fcn.00403ffa
mov byte [esp + 0x208], 0xa
push esi
push 1
lea ecx, [esp + 0x28]
call fcn.004035da
lea eax, [esp + 0x168]
mov dword [esp + 0x14], esi
push eax
lea esi, [edi + 0x24]
call fcn.00498307
mov byte [esp + 0x208], 1
lea eax, [esp + 0x168]
jmp 0x497de2
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x22
jne 0x497a2f
lea eax, [esp + 0x18c]
push eax
call fcn.00498232
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.00403ffa
and dword [esp + 0x14], 0
lea eax, [esp + 0x18c]
push eax
lea esi, [edi + 0x24]
call fcn.00498307
mov byte [esp + 0x208], 1
lea eax, [esp + 0x18c]
push eax
call fcn.00498257
jmp 0x497a48
lea eax, [esp + 0x120]
push eax
call fcn.00498232
mov byte [esp + 0x208], 2
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x29
jne 0x497e32
mov dword [esp + 0x120], 1
lea eax, [esp + 0x120]
push eax
lea esi, [edi + 0x24]
call fcn.00498307
jmp 0x4981c2
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x28
jne 0x497e4c
and dword [esp + 0x120], 0
jmp 0x497e1d
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x3d
jne 0x497e69
mov dword [esp + 0x120], 2
jmp 0x497e1d
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x3c
jne 0x497f2f
lea eax, [esp + 0xfc]
push eax
call fcn.00498232
mov byte [esp + 0x208], 3
lea esi, [ebx + 1]
mov dword [esp + 0xfc], 4
cmp esi, dword [esp + 0x18]
jne 0x497eb3
mov dword [esp + 0xfc], 4
jmp 0x497f0a
push esi
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x3d
jne 0x497ed0
mov dword [esp + 0xfc], 6
jmp 0x497f08
push esi
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x3e
jne 0x497eed
mov dword [esp + 0xfc], 8
jmp 0x497f08
push esi
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x3c
jne 0x497f0a
mov dword [esp + 0xfc], 0xa
mov ebx, esi
lea eax, [esp + 0xfc]
push eax
lea esi, [edi + 0x24]
inc ebx
call fcn.00498307
mov byte [esp + 0x208], 2
lea eax, [esp + 0xfc]
jmp 0x497ff0
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x3e
jne 0x497ffb
lea eax, [esp + 0xd8]
push eax
call fcn.00498232
mov byte [esp + 0x208], 4
lea esi, [ebx + 1]
mov dword [esp + 0xd8], 0xc
cmp esi, dword [esp + 0x18]
jne 0x497f79
mov dword [esp + 0xd8], 0xc
jmp 0x497fd0
push esi
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x3d
jne 0x497f96
mov dword [esp + 0xd8], 0xe
jmp 0x497fce
push esi
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x3e
jne 0x497fb3
mov dword [esp + 0xd8], 0x10
jmp 0x497fce
push esi
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x3c
jne 0x497fd0
mov dword [esp + 0xd8], 0x12
mov ebx, esi
lea eax, [esp + 0xd8]
push eax
lea esi, [edi + 0x24]
inc ebx
call fcn.00498307
mov byte [esp + 0x208], 2
lea eax, [esp + 0xd8]
push eax
call fcn.00498257
jmp 0x4981c3
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x7e
jne 0x498018
mov dword [esp + 0x14], 5
jmp 0x4981c2
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
movzx eax, word [eax]
push eax
call fcn.004b3c89
pop ecx
test eax, eax
jne 0x498197
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x5f
je 0x498197
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x24
je 0x498197
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x26
je 0x498197
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x3f
je 0x498197
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x21
je 0x498197
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x25
je 0x498197
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
movzx eax, word [eax]
push eax
call fcn.004b3cd8
pop ecx
test eax, eax
je 0x4980ce
mov dword [esp + 0x14], 3
jmp 0x498109
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
cmp word [eax], 0x22
jne 0x4980e9
mov dword [esp + 0x14], 1
inc ebx
jmp 0x498109
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
movzx eax, word [eax]
push eax
call fcn.004b3cc5
pop ecx
test eax, eax
je 0x498118
mov dword [esp + 0x14], 4
lea eax, [esp + 0x74]
push eax
call fcn.00419e70
jmp 0x4981c3
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
movzx eax, word [eax]
push eax
call fcn.004b3cee
pop ecx
test eax, eax
je 0x4981c2
lea eax, [esp + 0x1d4]
push eax
call fcn.00498232
mov byte [esp + 0x208], 5
push ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1d8], 0x18
call fcn.00408a54
movzx eax, word [eax]
push eax
push 1
lea ecx, [esp + 0x1e4]
call fcn.0044cf80
lea eax, [esp + 0x1d4]
push eax
lea esi, [edi + 0x24]
call fcn.00498307
mov byte [esp + 0x208], 2
lea eax, [esp + 0x1d4]
push eax
call fcn.00498257
jmp 0x4981c2
lea eax, [esp + 0x74]
push eax
call fcn.00419e70
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408a54
movzx eax, word [eax]
push eax
push 1
lea ecx, [esp + 0x7c]
call fcn.0044cf80
mov dword [esp + 0x14], 2
inc ebx
mov byte [esp + 0x208], 1
lea eax, [esp + 0x120]
push eax
call fcn.00498257
cmp ebx, dword [esp + 0x18]
jb 0x49784c
mov byte [esp + 0x208], 0
push 0
push 1
lea ecx, [esp + 0x7c]
call fcn.004035da
or dword [esp + 0x208], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x60]
call fcn.004035da
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.004b196e
mov esp, ebp
pop ebp
ret