Function at 0x4c5604
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c6039
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov edx, eax
dec edx
movzx edx, byte [edx]
cmp edx, 0x2e
jg 0x4c568f
je 0x4c5754
cmp edx, 0x28
jg 0x4c5677
je 0x4c5a74
sub edx, 1
jb 0x4c5bb8
sub edx, 0x23
je 0x4c570c
jmp 0x4c5e4d
sub edx, 0x29
je 0x4c5bb8
dec edx
sub edx, 2
jb 0x4c5bc9
jmp 0x4c5e4d
cmp edx, 0x5c
jg 0x4c56b1
je 0x4c5bda
sub edx, 0x3f
je 0x4c5bc9
sub edx, 0x1c
je 0x4c579a
jmp 0x4c5e4d
sub edx, 0x5e
je 0x4c56c4
sub edx, 0x1e
je 0x4c5bb8
jmp 0x4c5e4d
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x10
je 0x4c56e8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x128], 0
jne 0x4c56fa
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12c], 0
jne 0x4c56fa
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
jmp 0x4c601b
mov dl, 0x22
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
jmp 0x4c601b
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x10
je 0x4c5730
mov eax, dword [ebp - 4]
cmp dword [eax + 0x128], 0
jne 0x4c5742
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12c], 0
jne 0x4c5742
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
jmp 0x4c601b
mov dl, 0x23
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
jmp 0x4c601b
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 4
je 0x4c5782
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.004c4320
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 0x4c601b
mov dl, 0x24
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
or dword [eax], 1
jmp 0x4c601b
cmp byte [eax], 0x5e
jne 0x4c57d0
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x4c57b9
push ebp
mov al, 0x16
call fcn.004c5078
pop ecx
mov dword [ebp - 8], eax
jmp 0x4c57c5
push ebp
mov al, 5
call fcn.004c5078
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x4c57f6
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x4c57ea
push ebp
mov al, 0x15
call fcn.004c5078
pop ecx
mov dword [ebp - 8], eax
jmp 0x4c57f6
push ebp
mov al, 4
call fcn.004c5078
pop ecx
mov dword [ebp - 8], eax
mov byte [ebp - 0x3f], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
cmp al, 0x5d
jne 0x4c5a17
push ebp
call fcn.004c5464
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x4c5a17
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov dl, byte [eax]
cmp dl, 0x2d
jne 0x4c5971
mov ecx, eax
inc ecx
cmp byte [ecx], 0
je 0x4c5971
inc eax
cmp byte [eax], 0x5d
je 0x4c5971
cmp byte [ebp - 0x3f], 0
je 0x4c5971
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov bl, byte [eax]
cmp bl, 0x5c
jne 0x4c58ac
inc eax
mov al, byte [eax]
add al, 0xc0
cmp al, 0x37
ja 0x4c5882
and eax, 0x7f
bt dword [0x4c604c], eax
jae 0x4c5892
push ebp
mov al, 0x2d
call fcn.004c517c
pop ecx
jmp 0x4c5a17
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.004c54b4
pop ecx
mov ebx, eax
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x4c58d4
cmp byte [ebp - 0x40], 0xe0
jne 0x4c58d4
cmp bl, 0xff
jne 0x4c58d4
push ebp
mov eax, 0x4c605c
call fcn.004c5480
pop ecx
jmp 0x4c5963
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x4c58f9
cmp byte [ebp - 0x40], 0xc0
jne 0x4c58f9
cmp bl, 0xdf
jne 0x4c58f9
push ebp
mov eax, 0x4c6088
call fcn.004c5480
pop ecx
jmp 0x4c5963
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x4c592a
cmp byte [ebp - 0x40], 0xe0
jne 0x4c592a
cmp bl, 0xdf
jne 0x4c592a
push ebp
mov eax, 0x4c605c
call fcn.004c5480
pop ecx
push ebp
mov eax, 0x4c6088
call fcn.004c5480
pop ecx
jmp 0x4c5963
cmp bl, byte [ebp - 0x40]
jae 0x4c5940
mov edx, 0x6d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4c601e
inc byte [ebp - 0x40]
push ebp
mov eax, ebx
call fcn.004c517c
pop ecx
cmp bl, byte [ebp - 0x40]
jbe 0x4c5963
push ebp
mov al, byte [ebp - 0x40]
call fcn.004c517c
pop ecx
inc byte [ebp - 0x40]
cmp bl, byte [ebp - 0x40]
ja 0x4c5951
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x4c5a17
cmp dl, 0x5c
jne 0x4c5a05
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0
jne 0x4c59a2
mov edx, 0x6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4c601e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
sub al, 0x64
je 0x4c59bb
sub al, 0xf
je 0x4c59db
sub al, 4
je 0x4c59c9
jmp 0x4c59ed
push ebp
mov eax, 0x4c60b4
call fcn.004c5480
pop ecx
jmp 0x4c5a0e
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.004c5480
pop ecx
jmp 0x4c5a0e
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.004c5480
pop ecx
jmp 0x4c5a0e
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.004c54b4
pop ecx
call fcn.004c5464
pop ecx
jmp 0x4c5a0e
push ebp
mov eax, edx
call fcn.004c5464
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
test al, al
je 0x4c5a2e
cmp al, 0x5d
jne 0x4c5822
push ebp
xor eax, eax
call fcn.004c517c
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5d
je 0x4c5a56
mov edx, 0x71
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4c601e
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
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 0x4c601b
cmp byte [eax], 0x3f
jne 0x4c5b88
inc eax
cmp byte [eax], 0x23
jne 0x4c5ae5
mov eax, dword [ebp - 4]
add dword [eax + 0xe0], 2
jmp 0x4c5a98
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
test al, al
je 0x4c5aab
cmp al, 0x29
jne 0x4c5a8f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x29
je 0x4c5aca
mov edx, 0x7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4c601e
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
jmp 0x4c601b
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xe0]
jmp 0x4c5b02
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
test al, al
je 0x4c5b15
cmp al, 0x29
jne 0x4c5af9
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xe0]
cmp byte [edi], 0x29
jne 0x4c5b5c
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
mov edx, ebx
call fcn.0040491c
mov eax, dword [ebp - 0x4c]
mov ecx, edi
sub ecx, ebx
mov edx, 1
call fcn.00404c44
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x110]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004c3f04
test al, al
jne 0x4c5b6d
mov edx, 0x7f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4c601e
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
jmp 0x4c601b
lea ecx, [ebp - 0x44]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004c46a8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4c5ba8
xor esi, esi
jmp 0x4c601e
mov eax, dword [ebp - 0x44]
and eax, 5
mov edx, dword [ebp - 0xc]
or dword [edx], eax
jmp 0x4c601b
mov edx, 0x72
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4c601e
mov edx, 0x73
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4c601e
cmp byte [eax], 0
jne 0x4c5bf0
mov edx, 0x74
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4c601e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
cmp eax, 0x57
jg 0x4c5c3b
je 0x4c5da2
cmp eax, 0x42
jg 0x4c5c24
je 0x4c5c7a
add eax, 0xffffffcf
sub eax, 9
jb 0x4c5dd9
sub eax, 7
je 0x4c5c8c
jmp 0x4c5e29
sub eax, 0x44
je 0x4c5cd2
sub eax, 0xf
je 0x4c5d2e
jmp 0x4c5e29
cmp eax, 0x64
jg 0x4c5c51
je 0x4c5cb0
sub eax, 0x5a
je 0x4c5c9e
sub eax, 8
je 0x4c5c68
jmp 0x4c5e29
sub eax, 0x73
je 0x4c5cf4
sub eax, 4
je 0x4c5d68
jmp 0x4c5e29
mov dl, 0x25
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
jmp 0x4c5e3f
mov dl, 0x26
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
jmp 0x4c5e3f
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
jmp 0x4c5e3f
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
jmp 0x4c5e3f
mov dl, 0xc
mov eax, dword [ebp - 4]
call fcn.004c4320
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 0x4c5e3f
mov dl, 0xd
mov eax, dword [ebp - 4]
call fcn.004c4320
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 0x4c5e3f
push ebp
mov al, 4
call fcn.004c5078
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.004c5480
pop ecx
push ebp
xor eax, eax
call fcn.004c517c
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 0x4c5e3f
push ebp
mov al, 5
call fcn.004c5078
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.004c5480
pop ecx
push ebp
xor eax, eax
call fcn.004c517c
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 0x4c5e3f
push ebp
mov al, 4
call fcn.004c5078
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.004c5480
pop ecx
push ebp
xor eax, eax
call fcn.004c517c
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 0x4c5e3f
push ebp
mov al, 5
call fcn.004c5078
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.004c5480
pop ecx
push ebp
xor eax, eax
call fcn.004c517c
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 0x4c5e3f
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x4c5df4
mov dl, 0x1d
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
jmp 0x4c5e01
mov dl, 0x1c
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov dl, byte [eax]
sub dl, 0x30
mov eax, dword [ebp - 4]
call fcn.004c435c
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 0x4c5e3f
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.004c54b4
pop ecx
call fcn.004c4fc0
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x4c601b
mov eax, dword [ebp - 4]
dec dword [eax + 0xe0]
mov edx, dword [ebp - 4]
test byte [edx + 0x110], 0x20
je 0x4c5f0b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
cmp al, 0x23
je 0x4c5e87
add al, 0xf7
sub al, 2
jb 0x4c5e87
sub al, 2
je 0x4c5e87
sub al, 0x13
jne 0x4c5f0b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x23
jne 0x4c5ee0
jmp 0x4c5ea0
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
test al, al
je 0x4c5ec2
cmp al, 0xd
je 0x4c5ec2
cmp al, 0xa
jne 0x4c5e97
jmp 0x4c5ec2
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
cmp al, 0xd
je 0x4c5eb9
cmp al, 0xa
je 0x4c5eb9
jmp 0x4c5ef9
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
add al, 0xf7
sub al, 2
jb 0x4c5ed7
sub al, 2
je 0x4c5ed7
sub al, 0x13
je 0x4c5ed7
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
jmp 0x4c601b
mov edx, 0x4cfbe4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
call fcn.004c43e0
mov ebx, eax
test ebx, ebx
jg 0x4c5f53
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xe0]
cmp byte [ebx], 0x7b
je 0x4c5f43
mov edx, 0x77
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4c601e
mov edx, 0x4cfbe4
mov eax, ebx
inc eax
call fcn.004c43e0
inc eax
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
add eax, ebx
mov al, byte [eax]
cmp ebx, 1
jle 0x4c5f76
cmp al, 0x2a
je 0x4c5f75
cmp al, 0x2b
je 0x4c5f75
cmp al, 0x3f
je 0x4c5f75
cmp al, 0x7b
jne 0x4c5f76
dec ebx
mov eax, dword [ebp - 0xc]
or dword [eax], 1
cmp ebx, 1
jne 0x4c5f87
mov eax, dword [ebp - 0xc]
or dword [eax], 2
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x4c5fa2
mov dl, 0x14
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
jmp 0x4c5ff3
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.004c4320
mov dword [ebp - 8], eax
jmp 0x4c5ff3
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x20
je 0x4c5fd6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
add al, 0xf7
sub al, 2
jb 0x4c5fe9
sub al, 2
je 0x4c5fe9
sub al, 0x13
je 0x4c5fe9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov dl, byte [eax]
mov eax, dword [ebp - 4]
call fcn.004c435c
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
dec ebx
test ebx, ebx
jle 0x4c6011
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x20
je 0x4c5fb1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x23
jne 0x4c5fb1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004c435c
mov esi, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6040
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00404748
ret