Function at 0x50b360
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 0x50bdc7
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 + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov edx, eax
dec edx
movzx edx, byte [edx]
cmp edx, 0x2e
jg 0x50b3eb
je 0x50b4b0
cmp edx, 0x28
jg 0x50b3d3
je 0x50b7f8
sub edx, 1
jb 0x50b93e
sub edx, 0x23
je 0x50b468
jmp 0x50bbd4
sub edx, 0x29
je 0x50b93e
dec edx
sub edx, 2
jb 0x50b94f
jmp 0x50bbd4
cmp edx, 0x5c
jg 0x50b40d
je 0x50b960
sub edx, 0x3f
je 0x50b94f
sub edx, 0x1c
je 0x50b4f6
jmp 0x50bbd4
sub edx, 0x5e
je 0x50b420
sub edx, 0x1e
je 0x50b93e
jmp 0x50bbd4
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x10
je 0x50b444
mov eax, dword [ebp - 4]
cmp dword [eax + 0x128], 0
jne 0x50b456
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12c], 0
jne 0x50b456
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
jmp 0x50bda9
mov dl, 0x22
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
jmp 0x50bda9
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x10
je 0x50b48c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x128], 0
jne 0x50b49e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12c], 0
jne 0x50b49e
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
jmp 0x50bda9
mov dl, 0x23
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
jmp 0x50bda9
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 4
je 0x50b4de
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.0050a14c
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 0x50bda9
mov dl, 0x24
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
or dword [eax], 1
jmp 0x50bda9
cmp byte [eax], 0x5e
jne 0x50b52c
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x50b515
push ebp
mov al, 0x16
call fcn.0050aecc
pop ecx
mov dword [ebp - 8], eax
jmp 0x50b521
push ebp
mov al, 5
call fcn.0050aecc
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x50b552
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x50b546
push ebp
mov al, 0x15
call fcn.0050aecc
pop ecx
mov dword [ebp - 8], eax
jmp 0x50b552
push ebp
mov al, 4
call fcn.0050aecc
pop ecx
mov dword [ebp - 8], eax
mov byte [ebp - 0x3f], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
cmp al, 0x5d
jne 0x50b792
push ebp
call fcn.0050b1bc
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x50b792
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xe0]
cmp byte [esi], 0x2d
jne 0x50b6d8
mov eax, esi
inc eax
cmp byte [eax], 0
je 0x50b6d8
inc esi
cmp byte [esi], 0x5d
je 0x50b6d8
cmp byte [ebp - 0x3f], 0
je 0x50b6d8
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx ebx, byte [eax]
cmp bl, 0x5c
jne 0x50b612
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
inc eax
movzx eax, byte [eax]
add al, 0xc0
cmp al, 0x37
ja 0x50b5e8
and eax, 0x7f
bt dword [0x50bdd8], eax
jae 0x50b5f8
push ebp
mov al, 0x2d
call fcn.0050afc8
pop ecx
jmp 0x50b792
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.0050b210
pop ecx
mov ebx, eax
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x50b63a
cmp byte [ebp - 0x40], 0xe0
jne 0x50b63a
cmp bl, 0xff
jne 0x50b63a
push ebp
mov eax, 0x50bde8
call fcn.0050b1d8
pop ecx
jmp 0x50b6ca
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x50b65f
cmp byte [ebp - 0x40], 0xc0
jne 0x50b65f
cmp bl, 0xdf
jne 0x50b65f
push ebp
mov eax, 0x50be14
call fcn.0050b1d8
pop ecx
jmp 0x50b6ca
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x50b690
cmp byte [ebp - 0x40], 0xe0
jne 0x50b690
cmp bl, 0xdf
jne 0x50b690
push ebp
mov eax, 0x50bde8
call fcn.0050b1d8
pop ecx
push ebp
mov eax, 0x50be14
call fcn.0050b1d8
pop ecx
jmp 0x50b6ca
cmp bl, byte [ebp - 0x40]
jae 0x50b6a6
mov edx, 0x6d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50bdac
inc byte [ebp - 0x40]
push ebp
mov eax, ebx
call fcn.0050afc8
pop ecx
cmp bl, byte [ebp - 0x40]
jbe 0x50b6ca
push ebp
movzx eax, byte [ebp - 0x40]
call fcn.0050afc8
pop ecx
inc byte [ebp - 0x40]
cmp bl, byte [ebp - 0x40]
ja 0x50b6b7
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x50b792
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5c
jne 0x50b776
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0
jne 0x50b712
mov edx, 0x6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50bdac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
sub al, 0x64
je 0x50b72c
sub al, 0xf
je 0x50b74c
sub al, 4
je 0x50b73a
jmp 0x50b75e
push ebp
mov eax, 0x50be40
call fcn.0050b1d8
pop ecx
jmp 0x50b789
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.0050b1d8
pop ecx
jmp 0x50b789
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.0050b1d8
pop ecx
jmp 0x50b789
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.0050b210
pop ecx
call fcn.0050b1bc
pop ecx
jmp 0x50b789
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
call fcn.0050b1bc
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0
je 0x50b7b2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5d
jne 0x50b57f
push ebp
xor eax, eax
call fcn.0050afc8
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5d
je 0x50b7da
mov edx, 0x71
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50bdac
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 0x50bda9
cmp byte [eax], 0x3f
jne 0x50b90e
inc eax
cmp byte [eax], 0x23
jne 0x50b86a
mov eax, dword [ebp - 4]
add dword [eax + 0xe0], 2
jmp 0x50b81c
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
test al, al
je 0x50b830
cmp al, 0x29
jne 0x50b813
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x29
je 0x50b84f
mov edx, 0x7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50bdac
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
jmp 0x50bda9
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xe0]
jmp 0x50b887
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
test al, al
je 0x50b89b
cmp al, 0x29
jne 0x50b87e
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xe0]
cmp byte [esi], 0x29
jne 0x50b8e2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
mov edx, ebx
call fcn.00405648
mov eax, dword [ebp - 0x4c]
mov ecx, esi
sub ecx, ebx
mov edx, 1
call fcn.00405974
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.00509cd8
test al, al
jne 0x50b8f3
mov edx, 0x7f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50bdac
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
jmp 0x50bda9
lea ecx, [ebp - 0x44]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0050a4dc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x50b92e
xor edi, edi
jmp 0x50bdac
mov eax, dword [ebp - 0x44]
and eax, 5
mov edx, dword [ebp - 0xc]
or dword [edx], eax
jmp 0x50bda9
mov edx, 0x72
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50bdac
mov edx, 0x73
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50bdac
cmp byte [eax], 0
jne 0x50b976
mov edx, 0x74
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50bdac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
cmp eax, 0x57
jg 0x50b9c1
je 0x50bb28
cmp eax, 0x42
jg 0x50b9aa
je 0x50ba00
add eax, 0xffffffcf
sub eax, 9
jb 0x50bb5f
sub eax, 7
je 0x50ba12
jmp 0x50bbb0
sub eax, 0x44
je 0x50ba58
sub eax, 0xf
je 0x50bab4
jmp 0x50bbb0
cmp eax, 0x64
jg 0x50b9d7
je 0x50ba36
sub eax, 0x5a
je 0x50ba24
sub eax, 8
je 0x50b9ee
jmp 0x50bbb0
sub eax, 0x73
je 0x50ba7a
sub eax, 4
je 0x50baee
jmp 0x50bbb0
mov dl, 0x25
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
jmp 0x50bbc6
mov dl, 0x26
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
jmp 0x50bbc6
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
jmp 0x50bbc6
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
jmp 0x50bbc6
mov dl, 0xc
mov eax, dword [ebp - 4]
call fcn.0050a14c
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 0x50bbc6
mov dl, 0xd
mov eax, dword [ebp - 4]
call fcn.0050a14c
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 0x50bbc6
push ebp
mov al, 4
call fcn.0050aecc
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.0050b1d8
pop ecx
push ebp
xor eax, eax
call fcn.0050afc8
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 0x50bbc6
push ebp
mov al, 5
call fcn.0050aecc
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.0050b1d8
pop ecx
push ebp
xor eax, eax
call fcn.0050afc8
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 0x50bbc6
push ebp
mov al, 4
call fcn.0050aecc
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.0050b1d8
pop ecx
push ebp
xor eax, eax
call fcn.0050afc8
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 0x50bbc6
push ebp
mov al, 5
call fcn.0050aecc
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.0050b1d8
pop ecx
push ebp
xor eax, eax
call fcn.0050afc8
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 0x50bbc6
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x50bb7a
mov dl, 0x1d
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
jmp 0x50bb87
mov dl, 0x1c
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx edx, byte [eax]
sub dl, 0x30
mov eax, dword [ebp - 4]
call fcn.0050a188
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 0x50bbc6
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.0050b210
pop ecx
call fcn.0050ae18
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x50bda9
mov eax, dword [ebp - 4]
dec dword [eax + 0xe0]
mov edx, dword [ebp - 4]
test byte [edx + 0x110], 0x20
je 0x50bc96
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
cmp al, 0x23
je 0x50bc0f
add al, 0xf7
sub al, 2
jb 0x50bc0f
sub al, 2
je 0x50bc0f
sub al, 0x13
jne 0x50bc96
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x23
jne 0x50bc6a
jmp 0x50bc28
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
test al, al
je 0x50bc4b
cmp al, 0xd
je 0x50bc4b
cmp al, 0xa
jne 0x50bc1f
jmp 0x50bc4b
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
cmp al, 0xd
je 0x50bc42
cmp al, 0xa
je 0x50bc42
jmp 0x50bc84
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
add al, 0xf7
sub al, 2
jb 0x50bc61
sub al, 2
je 0x50bc61
sub al, 0x13
je 0x50bc61
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
jmp 0x50bda9
mov edx, str._.____
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
call fcn.0050a210
mov ebx, eax
test ebx, ebx
jg 0x50bcde
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xe0]
cmp byte [ebx], 0x7b
je 0x50bcce
mov edx, 0x77
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50bdac
mov edx, str._.____
mov eax, ebx
inc eax
call fcn.0050a210
inc eax
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
add eax, ebx
movzx eax, byte [eax]
cmp ebx, 1
jle 0x50bd02
cmp al, 0x2a
je 0x50bd01
cmp al, 0x2b
je 0x50bd01
cmp al, 0x3f
je 0x50bd01
cmp al, 0x7b
jne 0x50bd02
dec ebx
mov eax, dword [ebp - 0xc]
or dword [eax], 1
cmp ebx, 1
jne 0x50bd13
mov eax, dword [ebp - 0xc]
or dword [eax], 2
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x50bd2e
mov dl, 0x14
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
jmp 0x50bd81
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.0050a14c
mov dword [ebp - 8], eax
jmp 0x50bd81
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x20
je 0x50bd63
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
add al, 0xf7
sub al, 2
jb 0x50bd77
sub al, 2
je 0x50bd77
sub al, 0x13
je 0x50bd77
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx edx, byte [eax]
mov eax, dword [ebp - 4]
call fcn.0050a188
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
dec ebx
test ebx, ebx
jle 0x50bd9f
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x20
je 0x50bd3d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x23
jne 0x50bd3d
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0050a188
mov edi, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50bdce
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00405474
ret