Function at 0x50e0ac
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 0x50eae1
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 0x50e137
je 0x50e1fc
cmp edx, 0x28
jg 0x50e11f
je 0x50e51c
sub edx, 1
jb 0x50e660
sub edx, 0x23
je 0x50e1b4
jmp 0x50e8f5
sub edx, 0x29
je 0x50e660
dec edx
sub edx, 2
jb 0x50e671
jmp 0x50e8f5
cmp edx, 0x5c
jg 0x50e159
je 0x50e682
sub edx, 0x3f
je 0x50e671
sub edx, 0x1c
je 0x50e242
jmp 0x50e8f5
sub edx, 0x5e
je 0x50e16c
sub edx, 0x1e
je 0x50e660
jmp 0x50e8f5
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x10
je 0x50e190
mov eax, dword [ebp - 4]
cmp dword [eax + 0x128], 0
jne 0x50e1a2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12c], 0
jne 0x50e1a2
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
jmp 0x50eac3
mov dl, 0x22
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
jmp 0x50eac3
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x10
je 0x50e1d8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x128], 0
jne 0x50e1ea
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12c], 0
jne 0x50e1ea
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
jmp 0x50eac3
mov dl, 0x23
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
jmp 0x50eac3
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 4
je 0x50e22a
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.0050cdbc
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 0x50eac3
mov dl, 0x24
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
or dword [eax], 1
jmp 0x50eac3
cmp byte [eax], 0x5e
jne 0x50e278
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x50e261
push ebp
mov al, 0x16
call fcn.0050db14
pop ecx
mov dword [ebp - 8], eax
jmp 0x50e26d
push ebp
mov al, 5
call fcn.0050db14
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x50e29e
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x50e292
push ebp
mov al, 0x15
call fcn.0050db14
pop ecx
mov dword [ebp - 8], eax
jmp 0x50e29e
push ebp
mov al, 4
call fcn.0050db14
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 0x50e4bf
push ebp
call fcn.0050df0c
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x50e4bf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov dl, byte [eax]
cmp dl, 0x2d
jne 0x50e419
mov ecx, eax
inc ecx
cmp byte [ecx], 0
je 0x50e419
inc eax
cmp byte [eax], 0x5d
je 0x50e419
cmp byte [ebp - 0x3f], 0
je 0x50e419
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 0x50e354
inc eax
mov al, byte [eax]
add al, 0xc0
cmp al, 0x37
ja 0x50e32a
and eax, 0x7f
bt dword [0x50eaf4], eax
jae 0x50e33a
push ebp
mov al, 0x2d
call fcn.0050dc18
pop ecx
jmp 0x50e4bf
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.0050df5c
pop ecx
mov ebx, eax
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x50e37c
cmp byte [ebp - 0x40], 0xe0
jne 0x50e37c
cmp bl, 0xff
jne 0x50e37c
push ebp
mov eax, 0x50eb04
call fcn.0050df28
pop ecx
jmp 0x50e40b
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x50e3a1
cmp byte [ebp - 0x40], 0xc0
jne 0x50e3a1
cmp bl, 0xdf
jne 0x50e3a1
push ebp
mov eax, 0x50eb30
call fcn.0050df28
pop ecx
jmp 0x50e40b
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x50e3d2
cmp byte [ebp - 0x40], 0xe0
jne 0x50e3d2
cmp bl, 0xdf
jne 0x50e3d2
push ebp
mov eax, 0x50eb04
call fcn.0050df28
pop ecx
push ebp
mov eax, 0x50eb30
call fcn.0050df28
pop ecx
jmp 0x50e40b
cmp bl, byte [ebp - 0x40]
jae 0x50e3e8
mov edx, 0x6d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50eac6
inc byte [ebp - 0x40]
push ebp
mov eax, ebx
call fcn.0050dc18
pop ecx
cmp bl, byte [ebp - 0x40]
jbe 0x50e40b
push ebp
mov al, byte [ebp - 0x40]
call fcn.0050dc18
pop ecx
inc byte [ebp - 0x40]
cmp bl, byte [ebp - 0x40]
ja 0x50e3f9
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x50e4bf
cmp dl, 0x5c
jne 0x50e4ad
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0
jne 0x50e44a
mov edx, 0x6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50eac6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
sub al, 0x64
je 0x50e463
sub al, 0xf
je 0x50e483
sub al, 4
je 0x50e471
jmp 0x50e495
push ebp
mov eax, 0x50eb5c
call fcn.0050df28
pop ecx
jmp 0x50e4b6
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.0050df28
pop ecx
jmp 0x50e4b6
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.0050df28
pop ecx
jmp 0x50e4b6
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.0050df5c
pop ecx
call fcn.0050df0c
pop ecx
jmp 0x50e4b6
push ebp
mov eax, edx
call fcn.0050df0c
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 0x50e4d6
cmp al, 0x5d
jne 0x50e2ca
push ebp
xor eax, eax
call fcn.0050dc18
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5d
je 0x50e4fe
mov edx, 0x71
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50eac6
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 0x50eac3
cmp byte [eax], 0x3f
jne 0x50e630
inc eax
cmp byte [eax], 0x23
jne 0x50e58d
mov eax, dword [ebp - 4]
add dword [eax + 0xe0], 2
jmp 0x50e540
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 0x50e553
cmp al, 0x29
jne 0x50e537
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x29
je 0x50e572
mov edx, 0x7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50eac6
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
jmp 0x50eac3
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xe0]
jmp 0x50e5aa
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 0x50e5bd
cmp al, 0x29
jne 0x50e5a1
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xe0]
cmp byte [edi], 0x29
jne 0x50e604
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
mov edx, ebx
call fcn.00404aa4
mov eax, dword [ebp - 0x4c]
mov ecx, edi
sub ecx, ebx
mov edx, 1
call fcn.00404dc4
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.0050c9a0
test al, al
jne 0x50e615
mov edx, 0x7f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50eac6
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
jmp 0x50eac3
lea ecx, [ebp - 0x44]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0050d144
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x50e650
xor esi, esi
jmp 0x50eac6
mov eax, dword [ebp - 0x44]
and eax, 5
mov edx, dword [ebp - 0xc]
or dword [edx], eax
jmp 0x50eac3
mov edx, 0x72
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50eac6
mov edx, 0x73
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50eac6
cmp byte [eax], 0
jne 0x50e698
mov edx, 0x74
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50eac6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
cmp eax, 0x57
jg 0x50e6e3
je 0x50e84a
cmp eax, 0x42
jg 0x50e6cc
je 0x50e722
add eax, 0xffffffcf
sub eax, 9
jb 0x50e881
sub eax, 7
je 0x50e734
jmp 0x50e8d1
sub eax, 0x44
je 0x50e77a
sub eax, 0xf
je 0x50e7d6
jmp 0x50e8d1
cmp eax, 0x64
jg 0x50e6f9
je 0x50e758
sub eax, 0x5a
je 0x50e746
sub eax, 8
je 0x50e710
jmp 0x50e8d1
sub eax, 0x73
je 0x50e79c
sub eax, 4
je 0x50e810
jmp 0x50e8d1
mov dl, 0x25
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
jmp 0x50e8e7
mov dl, 0x26
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
jmp 0x50e8e7
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
jmp 0x50e8e7
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
jmp 0x50e8e7
mov dl, 0xc
mov eax, dword [ebp - 4]
call fcn.0050cdbc
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 0x50e8e7
mov dl, 0xd
mov eax, dword [ebp - 4]
call fcn.0050cdbc
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 0x50e8e7
push ebp
mov al, 4
call fcn.0050db14
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.0050df28
pop ecx
push ebp
xor eax, eax
call fcn.0050dc18
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 0x50e8e7
push ebp
mov al, 5
call fcn.0050db14
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.0050df28
pop ecx
push ebp
xor eax, eax
call fcn.0050dc18
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 0x50e8e7
push ebp
mov al, 4
call fcn.0050db14
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.0050df28
pop ecx
push ebp
xor eax, eax
call fcn.0050dc18
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 0x50e8e7
push ebp
mov al, 5
call fcn.0050db14
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.0050df28
pop ecx
push ebp
xor eax, eax
call fcn.0050dc18
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 0x50e8e7
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x50e89c
mov dl, 0x1d
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
jmp 0x50e8a9
mov dl, 0x1c
mov eax, dword [ebp - 4]
call fcn.0050cdbc
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.0050cdf8
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 0x50e8e7
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.0050df5c
pop ecx
call fcn.0050da5c
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x50eac3
mov eax, dword [ebp - 4]
dec dword [eax + 0xe0]
mov edx, dword [ebp - 4]
test byte [edx + 0x110], 0x20
je 0x50e9b3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
cmp al, 0x23
je 0x50e92f
add al, 0xf7
sub al, 2
jb 0x50e92f
sub al, 2
je 0x50e92f
sub al, 0x13
jne 0x50e9b3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x23
jne 0x50e988
jmp 0x50e948
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 0x50e96a
cmp al, 0xd
je 0x50e96a
cmp al, 0xa
jne 0x50e93f
jmp 0x50e96a
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 0x50e961
cmp al, 0xa
je 0x50e961
jmp 0x50e9a1
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 0x50e97f
sub al, 2
je 0x50e97f
sub al, 0x13
je 0x50e97f
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
jmp 0x50eac3
mov edx, 0x547890
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
call fcn.0050ce7c
mov ebx, eax
test ebx, ebx
jg 0x50e9fb
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xe0]
cmp byte [ebx], 0x7b
je 0x50e9eb
mov edx, 0x77
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x50eac6
mov edx, 0x547890
mov eax, ebx
inc eax
call fcn.0050ce7c
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 0x50ea1e
cmp al, 0x2a
je 0x50ea1d
cmp al, 0x2b
je 0x50ea1d
cmp al, 0x3f
je 0x50ea1d
cmp al, 0x7b
jne 0x50ea1e
dec ebx
mov eax, dword [ebp - 0xc]
or dword [eax], 1
cmp ebx, 1
jne 0x50ea2f
mov eax, dword [ebp - 0xc]
or dword [eax], 2
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x50ea4a
mov dl, 0x14
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
jmp 0x50ea9b
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.0050cdbc
mov dword [ebp - 8], eax
jmp 0x50ea9b
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x20
je 0x50ea7e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
add al, 0xf7
sub al, 2
jb 0x50ea91
sub al, 2
je 0x50ea91
sub al, 0x13
je 0x50ea91
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov dl, byte [eax]
mov eax, dword [ebp - 4]
call fcn.0050cdf8
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
dec ebx
test ebx, ebx
jle 0x50eab9
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x20
je 0x50ea59
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x23
jne 0x50ea59
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0050cdf8
mov esi, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50eae8
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004048d8
ret