Function at 0x5b1790
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea edi, [ebp - 8]
xor eax, eax
push ebp
push 0x5b2185
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov edx, eax
dec edx
movzx edx, byte [edx]
cmp edx, 0x2e
jg 0x5b181f
je 0x5b18da
cmp edx, 0x28
jg 0x5b1807
je 0x5b1bfa
sub edx, 1
jb 0x5b1d34
sub edx, 0x23
je 0x5b1897
jmp 0x5b1fb4
sub edx, 0x29
je 0x5b1d34
dec edx
sub edx, 2
jb 0x5b1d44
jmp 0x5b1fb4
cmp edx, 0x5c
jg 0x5b1841
je 0x5b1d54
sub edx, 0x3f
je 0x5b1d44
sub edx, 0x1c
je 0x5b191d
jmp 0x5b1fb4
sub edx, 0x5e
je 0x5b1854
sub edx, 0x1e
je 0x5b1d34
jmp 0x5b1fb4
mov eax, dword [edi]
test byte [eax + 0x110], 0x10
je 0x5b1875
mov eax, dword [edi]
cmp dword [eax + 0x128], 0
jne 0x5b1886
mov eax, dword [edi]
cmp byte [eax + 0x12c], 0
jne 0x5b1886
mov dl, 1
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
jmp 0x5b2164
mov dl, 0x22
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
jmp 0x5b2164
mov eax, dword [edi]
test byte [eax + 0x110], 0x10
je 0x5b18b8
mov eax, dword [edi]
cmp dword [eax + 0x128], 0
jne 0x5b18c9
mov eax, dword [edi]
cmp byte [eax + 0x12c], 0
jne 0x5b18c9
mov dl, 2
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
jmp 0x5b2164
mov dl, 0x23
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
jmp 0x5b2164
mov eax, dword [edi]
test byte [eax + 0x110], 4
je 0x5b1906
mov dl, 3
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], 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 0x5b2164
mov dl, 0x24
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
or dword [eax], 1
jmp 0x5b2164
cmp byte [eax], 0x5e
jne 0x5b1951
mov eax, dword [edi]
test byte [eax + 0x110], 1
je 0x5b193b
push ebp
mov al, 0x16
call fcn.005b12ec
pop ecx
mov dword [ebp - 4], eax
jmp 0x5b1947
push ebp
mov al, 5
call fcn.005b12ec
pop ecx
mov dword [ebp - 4], eax
mov eax, dword [edi]
inc dword [eax + 0xe0]
jmp 0x5b1976
mov eax, dword [edi]
test byte [eax + 0x110], 1
je 0x5b196a
push ebp
mov al, 0x15
call fcn.005b12ec
pop ecx
mov dword [ebp - 4], eax
jmp 0x5b1976
push ebp
mov al, 4
call fcn.005b12ec
pop ecx
mov dword [ebp - 4], eax
mov byte [ebp - 0x3f], 0
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
cmp al, 0x5d
jne 0x5b1b99
push ebp
call fcn.005b15f0
pop ecx
mov eax, dword [edi]
inc dword [eax + 0xe0]
jmp 0x5b1b99
mov eax, dword [edi]
mov esi, dword [eax + 0xe0]
cmp byte [esi], 0x2d
jne 0x5b1aeb
mov eax, esi
inc eax
cmp byte [eax], 0
je 0x5b1aeb
inc esi
cmp byte [esi], 0x5d
je 0x5b1aeb
cmp byte [ebp - 0x3f], 0
je 0x5b1aeb
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov bl, byte [eax]
cmp bl, 0x5c
jne 0x5b1a2b
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
inc eax
mov al, byte [eax]
add al, 0xc0
cmp al, 0x37
ja 0x5b1a03
and eax, 0x7f
bt dword [0x5b2198], eax
jae 0x5b1a13
push ebp
mov al, 0x2d
call fcn.005b13fc
pop ecx
jmp 0x5b1b99
mov eax, dword [edi]
inc dword [eax + 0xe0]
push ebp
mov eax, dword [edi]
add eax, 0xe0
call fcn.005b1640
pop ecx
mov ebx, eax
mov eax, dword [edi]
test byte [eax + 0x110], 2
je 0x5b1a52
cmp byte [ebp - 0x40], 0xe0
jne 0x5b1a52
cmp bl, 0xff
jne 0x5b1a52
push ebp
mov eax, 0x5b21a8
call fcn.005b160c
pop ecx
jmp 0x5b1ade
mov eax, dword [edi]
test byte [eax + 0x110], 2
je 0x5b1a76
cmp byte [ebp - 0x40], 0xc0
jne 0x5b1a76
cmp bl, 0xdf
jne 0x5b1a76
push ebp
mov eax, 0x5b21d4
call fcn.005b160c
pop ecx
jmp 0x5b1ade
mov eax, dword [edi]
test byte [eax + 0x110], 2
je 0x5b1aa6
cmp byte [ebp - 0x40], 0xe0
jne 0x5b1aa6
cmp bl, 0xdf
jne 0x5b1aa6
push ebp
mov eax, 0x5b21a8
call fcn.005b160c
pop ecx
push ebp
mov eax, 0x5b21d4
call fcn.005b160c
pop ecx
jmp 0x5b1ade
cmp bl, byte [ebp - 0x40]
jae 0x5b1abb
mov edx, 0x6d
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x5b216a
inc byte [ebp - 0x40]
push ebp
mov eax, ebx
call fcn.005b13fc
pop ecx
cmp bl, byte [ebp - 0x40]
jbe 0x5b1ade
push ebp
mov al, byte [ebp - 0x40]
call fcn.005b13fc
pop ecx
inc byte [ebp - 0x40]
cmp bl, byte [ebp - 0x40]
ja 0x5b1acc
mov eax, dword [edi]
inc dword [eax + 0xe0]
jmp 0x5b1b99
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5c
jne 0x5b1b80
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0
jne 0x5b1b21
mov edx, 0x6e
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x5b216a
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
sub al, 0x64
je 0x5b1b39
sub al, 0xf
je 0x5b1b58
sub al, 4
je 0x5b1b47
jmp 0x5b1b69
push ebp
mov eax, 0x5b2200
call fcn.005b160c
pop ecx
jmp 0x5b1b91
push ebp
mov eax, dword [edi]
mov eax, dword [eax + 0x11c]
call fcn.005b160c
pop ecx
jmp 0x5b1b91
push ebp
mov eax, dword [edi]
mov eax, dword [eax + 0x118]
call fcn.005b160c
pop ecx
jmp 0x5b1b91
push ebp
push ebp
mov eax, dword [edi]
add eax, 0xe0
call fcn.005b1640
pop ecx
call fcn.005b15f0
pop ecx
jmp 0x5b1b91
push ebp
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
call fcn.005b15f0
pop ecx
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0
je 0x5b1bb7
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5d
jne 0x5b19a0
push ebp
xor eax, eax
call fcn.005b13fc
pop ecx
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5d
je 0x5b1bdd
mov edx, 0x71
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x5b216a
mov eax, dword [edi]
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 0x5b2164
cmp byte [eax], 0x3f
jne 0x5b1d02
inc eax
cmp byte [eax], 0x23
jne 0x5b1c64
mov eax, dword [edi]
add dword [eax + 0xe0], 2
jmp 0x5b1c1c
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
test al, al
je 0x5b1c2e
cmp al, 0x29
jne 0x5b1c14
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x29
je 0x5b1c4b
mov edx, 0x7d
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x5b216a
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov dl, 0x13
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
jmp 0x5b2164
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov dword [ebp - 0x4c], eax
jmp 0x5b1c81
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
test al, al
je 0x5b1c93
cmp al, 0x29
jne 0x5b1c79
mov eax, dword [edi]
mov ebx, dword [eax + 0xe0]
cmp byte [ebx], 0x29
jne 0x5b1cd9
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
call fcn.00404e88
mov eax, dword [ebp - 0x54]
mov ecx, ebx
sub ecx, dword [ebp - 0x4c]
mov edx, 1
call fcn.004051b0
mov edx, dword [ebp - 0x50]
mov eax, dword [edi]
lea ecx, [eax + 0x110]
mov eax, dword [edi]
mov eax, dword [eax]
call fcn.005b00b8
test al, al
jne 0x5b1ce9
mov edx, 0x7f
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x5b216a
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov dl, 0x13
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
jmp 0x5b2164
lea ecx, [ebp - 0x48]
mov edx, 1
mov eax, dword [edi]
call fcn.005b08e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5b1d24
xor eax, eax
mov dword [ebp - 0x44], eax
jmp 0x5b216a
mov eax, dword [ebp - 0x48]
and eax, 5
mov edx, dword [ebp - 0xc]
or dword [edx], eax
jmp 0x5b2164
mov edx, 0x72
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x5b216a
mov edx, 0x73
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x5b216a
cmp byte [eax], 0
jne 0x5b1d69
mov edx, 0x74
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x5b216a
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
cmp eax, 0x57
jg 0x5b1db3
je 0x5b1f11
cmp eax, 0x42
jg 0x5b1d9c
je 0x5b1df1
add eax, 0xffffffcf
sub eax, 9
jb 0x5b1f47
sub eax, 7
je 0x5b1e02
jmp 0x5b1f92
sub eax, 0x44
je 0x5b1e45
sub eax, 0xf
je 0x5b1e9f
jmp 0x5b1f92
cmp eax, 0x64
jg 0x5b1dc9
je 0x5b1e24
sub eax, 0x5a
je 0x5b1e13
sub eax, 8
je 0x5b1de0
jmp 0x5b1f92
sub eax, 0x73
je 0x5b1e66
sub eax, 4
je 0x5b1ed8
jmp 0x5b1f92
mov dl, 0x25
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
jmp 0x5b1fa7
mov dl, 0x26
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
jmp 0x5b1fa7
mov dl, 1
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
jmp 0x5b1fa7
mov dl, 2
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
jmp 0x5b1fa7
mov dl, 0xc
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], 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 0x5b1fa7
mov dl, 0xd
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], 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 0x5b1fa7
push ebp
mov al, 4
call fcn.005b12ec
pop ecx
mov dword [ebp - 4], eax
push ebp
mov eax, dword [edi]
mov eax, dword [eax + 0x118]
call fcn.005b160c
pop ecx
push ebp
xor eax, eax
call fcn.005b13fc
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 0x5b1fa7
push ebp
mov al, 5
call fcn.005b12ec
pop ecx
mov dword [ebp - 4], eax
push ebp
mov eax, dword [edi]
mov eax, dword [eax + 0x118]
call fcn.005b160c
pop ecx
push ebp
xor eax, eax
call fcn.005b13fc
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 0x5b1fa7
push ebp
mov al, 4
call fcn.005b12ec
pop ecx
mov dword [ebp - 4], eax
push ebp
mov eax, dword [edi]
mov eax, dword [eax + 0x11c]
call fcn.005b160c
pop ecx
push ebp
xor eax, eax
call fcn.005b13fc
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 0x5b1fa7
push ebp
mov al, 5
call fcn.005b12ec
pop ecx
mov dword [ebp - 4], eax
push ebp
mov eax, dword [edi]
mov eax, dword [eax + 0x11c]
call fcn.005b160c
pop ecx
push ebp
xor eax, eax
call fcn.005b13fc
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 0x5b1fa7
mov eax, dword [edi]
test byte [eax + 0x110], 1
je 0x5b1f60
mov dl, 0x1d
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
jmp 0x5b1f6c
mov dl, 0x1c
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov dl, byte [eax]
sub dl, 0x30
mov eax, dword [edi]
call fcn.005b0534
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 0x5b1fa7
push ebp
push ebp
mov eax, dword [edi]
add eax, 0xe0
call fcn.005b1640
pop ecx
call fcn.005b1234
pop ecx
mov eax, dword [edi]
inc dword [eax + 0xe0]
jmp 0x5b2164
mov eax, dword [edi]
dec dword [eax + 0xe0]
mov edx, dword [edi]
test byte [edx + 0x110], 0x20
je 0x5b2063
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
cmp al, 0x23
je 0x5b1fe7
add al, 0xf7
sub al, 2
jb 0x5b1fe7
sub al, 2
je 0x5b1fe7
sub al, 0x13
jne 0x5b2063
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x23
jne 0x5b203a
jmp 0x5b1ffe
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
test al, al
je 0x5b201e
cmp al, 0xd
je 0x5b201e
cmp al, 0xa
jne 0x5b1ff6
jmp 0x5b201e
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
cmp al, 0xd
je 0x5b2016
cmp al, 0xa
je 0x5b2016
jmp 0x5b2052
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
add al, 0xf7
sub al, 2
jb 0x5b2032
sub al, 2
je 0x5b2032
sub al, 0x13
je 0x5b2032
mov dl, 0x13
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
jmp 0x5b2164
mov edx, 0x5c6294
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
call fcn.005b05d4
mov ebx, eax
test ebx, ebx
jg 0x5b20a8
mov eax, dword [edi]
mov ebx, dword [eax + 0xe0]
cmp byte [ebx], 0x7b
je 0x5b2098
mov edx, 0x77
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x5b216a
mov edx, 0x5c6294
mov eax, ebx
inc eax
call fcn.005b05d4
inc eax
mov ebx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
add eax, ebx
mov al, byte [eax]
cmp ebx, 1
jle 0x5b20ca
cmp al, 0x2a
je 0x5b20c9
cmp al, 0x2b
je 0x5b20c9
cmp al, 0x3f
je 0x5b20c9
cmp al, 0x7b
jne 0x5b20ca
dec ebx
mov eax, dword [ebp - 0xc]
or dword [eax], 1
cmp ebx, 1
jne 0x5b20db
mov eax, dword [ebp - 0xc]
or dword [eax], 2
mov eax, dword [edi]
test byte [eax + 0x110], 1
je 0x5b20f4
mov dl, 0x14
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
jmp 0x5b213f
mov dl, 8
mov eax, dword [edi]
call fcn.005b04f0
mov dword [ebp - 4], eax
jmp 0x5b213f
mov eax, dword [edi]
test byte [eax + 0x110], 0x20
je 0x5b2125
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
add al, 0xf7
sub al, 2
jb 0x5b2136
sub al, 2
je 0x5b2136
sub al, 0x13
je 0x5b2136
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov dl, byte [eax]
mov eax, dword [edi]
call fcn.005b0534
mov eax, dword [edi]
inc dword [eax + 0xe0]
dec ebx
test ebx, ebx
jle 0x5b215b
mov eax, dword [edi]
test byte [eax + 0x110], 0x20
je 0x5b2102
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x23
jne 0x5b2102
xor edx, edx
mov eax, dword [edi]
call fcn.005b0534
mov eax, dword [ebp - 4]
mov dword [ebp - 0x44], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b218c
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00404ca4
ret