Function at 0x56c17c
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 0x56cb71
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 0x56c20b
je 0x56c2c6
cmp edx, 0x28
jg 0x56c1f3
je 0x56c5e6
sub edx, 1
jb 0x56c720
sub edx, 0x23
je 0x56c283
jmp 0x56c9a0
sub edx, 0x29
je 0x56c720
dec edx
sub edx, 2
jb 0x56c730
jmp 0x56c9a0
cmp edx, 0x5c
jg 0x56c22d
je 0x56c740
sub edx, 0x3f
je 0x56c730
sub edx, 0x1c
je 0x56c309
jmp 0x56c9a0
sub edx, 0x5e
je 0x56c240
sub edx, 0x1e
je 0x56c720
jmp 0x56c9a0
mov eax, dword [edi]
test byte [eax + 0x110], 0x10
je 0x56c261
mov eax, dword [edi]
cmp dword [eax + 0x128], 0
jne 0x56c272
mov eax, dword [edi]
cmp byte [eax + 0x12c], 0
jne 0x56c272
mov dl, 1
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
jmp 0x56cb50
mov dl, 0x22
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
jmp 0x56cb50
mov eax, dword [edi]
test byte [eax + 0x110], 0x10
je 0x56c2a4
mov eax, dword [edi]
cmp dword [eax + 0x128], 0
jne 0x56c2b5
mov eax, dword [edi]
cmp byte [eax + 0x12c], 0
jne 0x56c2b5
mov dl, 2
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
jmp 0x56cb50
mov dl, 0x23
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
jmp 0x56cb50
mov eax, dword [edi]
test byte [eax + 0x110], 4
je 0x56c2f2
mov dl, 3
mov eax, dword [edi]
call fcn.0056add4
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 0x56cb50
mov dl, 0x24
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
or dword [eax], 1
jmp 0x56cb50
cmp byte [eax], 0x5e
jne 0x56c33d
mov eax, dword [edi]
test byte [eax + 0x110], 1
je 0x56c327
push ebp
mov al, 0x16
call fcn.0056bbd0
pop ecx
mov dword [ebp - 4], eax
jmp 0x56c333
push ebp
mov al, 5
call fcn.0056bbd0
pop ecx
mov dword [ebp - 4], eax
mov eax, dword [edi]
inc dword [eax + 0xe0]
jmp 0x56c362
mov eax, dword [edi]
test byte [eax + 0x110], 1
je 0x56c356
push ebp
mov al, 0x15
call fcn.0056bbd0
pop ecx
mov dword [ebp - 4], eax
jmp 0x56c362
push ebp
mov al, 4
call fcn.0056bbd0
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 0x56c585
push ebp
call fcn.0056bfdc
pop ecx
mov eax, dword [edi]
inc dword [eax + 0xe0]
jmp 0x56c585
mov eax, dword [edi]
mov esi, dword [eax + 0xe0]
cmp byte [esi], 0x2d
jne 0x56c4d7
mov eax, esi
inc eax
cmp byte [eax], 0
je 0x56c4d7
inc esi
cmp byte [esi], 0x5d
je 0x56c4d7
cmp byte [ebp - 0x3f], 0
je 0x56c4d7
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 0x56c417
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
inc eax
mov al, byte [eax]
add al, 0xc0
cmp al, 0x37
ja 0x56c3ef
and eax, 0x7f
bt dword [0x56cb84], eax
jae 0x56c3ff
push ebp
mov al, 0x2d
call fcn.0056bce0
pop ecx
jmp 0x56c585
mov eax, dword [edi]
inc dword [eax + 0xe0]
push ebp
mov eax, dword [edi]
add eax, 0xe0
call fcn.0056c02c
pop ecx
mov ebx, eax
mov eax, dword [edi]
test byte [eax + 0x110], 2
je 0x56c43e
cmp byte [ebp - 0x40], 0xe0
jne 0x56c43e
cmp bl, 0xff
jne 0x56c43e
push ebp
mov eax, 0x56cb94
call fcn.0056bff8
pop ecx
jmp 0x56c4ca
mov eax, dword [edi]
test byte [eax + 0x110], 2
je 0x56c462
cmp byte [ebp - 0x40], 0xc0
jne 0x56c462
cmp bl, 0xdf
jne 0x56c462
push ebp
mov eax, 0x56cbc0
call fcn.0056bff8
pop ecx
jmp 0x56c4ca
mov eax, dword [edi]
test byte [eax + 0x110], 2
je 0x56c492
cmp byte [ebp - 0x40], 0xe0
jne 0x56c492
cmp bl, 0xdf
jne 0x56c492
push ebp
mov eax, 0x56cb94
call fcn.0056bff8
pop ecx
push ebp
mov eax, 0x56cbc0
call fcn.0056bff8
pop ecx
jmp 0x56c4ca
cmp bl, byte [ebp - 0x40]
jae 0x56c4a7
mov edx, 0x6d
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x56cb56
inc byte [ebp - 0x40]
push ebp
mov eax, ebx
call fcn.0056bce0
pop ecx
cmp bl, byte [ebp - 0x40]
jbe 0x56c4ca
push ebp
mov al, byte [ebp - 0x40]
call fcn.0056bce0
pop ecx
inc byte [ebp - 0x40]
cmp bl, byte [ebp - 0x40]
ja 0x56c4b8
mov eax, dword [edi]
inc dword [eax + 0xe0]
jmp 0x56c585
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5c
jne 0x56c56c
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0
jne 0x56c50d
mov edx, 0x6e
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x56cb56
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
sub al, 0x64
je 0x56c525
sub al, 0xf
je 0x56c544
sub al, 4
je 0x56c533
jmp 0x56c555
push ebp
mov eax, 0x56cbec
call fcn.0056bff8
pop ecx
jmp 0x56c57d
push ebp
mov eax, dword [edi]
mov eax, dword [eax + 0x11c]
call fcn.0056bff8
pop ecx
jmp 0x56c57d
push ebp
mov eax, dword [edi]
mov eax, dword [eax + 0x118]
call fcn.0056bff8
pop ecx
jmp 0x56c57d
push ebp
push ebp
mov eax, dword [edi]
add eax, 0xe0
call fcn.0056c02c
pop ecx
call fcn.0056bfdc
pop ecx
jmp 0x56c57d
push ebp
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
call fcn.0056bfdc
pop ecx
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0
je 0x56c5a3
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5d
jne 0x56c38c
push ebp
xor eax, eax
call fcn.0056bce0
pop ecx
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5d
je 0x56c5c9
mov edx, 0x71
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x56cb56
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 0x56cb50
cmp byte [eax], 0x3f
jne 0x56c6ee
inc eax
cmp byte [eax], 0x23
jne 0x56c650
mov eax, dword [edi]
add dword [eax + 0xe0], 2
jmp 0x56c608
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 0x56c61a
cmp al, 0x29
jne 0x56c600
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x29
je 0x56c637
mov edx, 0x7d
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x56cb56
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov dl, 0x13
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
jmp 0x56cb50
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov dword [ebp - 0x4c], eax
jmp 0x56c66d
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 0x56c67f
cmp al, 0x29
jne 0x56c665
mov eax, dword [edi]
mov ebx, dword [eax + 0xe0]
cmp byte [ebx], 0x29
jne 0x56c6c5
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
call fcn.00404af4
mov eax, dword [ebp - 0x54]
mov ecx, ebx
sub ecx, dword [ebp - 0x4c]
mov edx, 1
call fcn.00404e1c
mov edx, dword [ebp - 0x50]
mov eax, dword [edi]
lea ecx, [eax + 0x110]
mov eax, dword [edi]
mov eax, dword [eax]
call fcn.0056a99c
test al, al
jne 0x56c6d5
mov edx, 0x7f
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x56cb56
mov eax, dword [edi]
inc dword [eax + 0xe0]
mov dl, 0x13
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
jmp 0x56cb50
lea ecx, [ebp - 0x48]
mov edx, 1
mov eax, dword [edi]
call fcn.0056b1c4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x56c710
xor eax, eax
mov dword [ebp - 0x44], eax
jmp 0x56cb56
mov eax, dword [ebp - 0x48]
and eax, 5
mov edx, dword [ebp - 0xc]
or dword [edx], eax
jmp 0x56cb50
mov edx, 0x72
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x56cb56
mov edx, 0x73
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x56cb56
cmp byte [eax], 0
jne 0x56c755
mov edx, 0x74
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x56cb56
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
cmp eax, 0x57
jg 0x56c79f
je 0x56c8fd
cmp eax, 0x42
jg 0x56c788
je 0x56c7dd
add eax, 0xffffffcf
sub eax, 9
jb 0x56c933
sub eax, 7
je 0x56c7ee
jmp 0x56c97e
sub eax, 0x44
je 0x56c831
sub eax, 0xf
je 0x56c88b
jmp 0x56c97e
cmp eax, 0x64
jg 0x56c7b5
je 0x56c810
sub eax, 0x5a
je 0x56c7ff
sub eax, 8
je 0x56c7cc
jmp 0x56c97e
sub eax, 0x73
je 0x56c852
sub eax, 4
je 0x56c8c4
jmp 0x56c97e
mov dl, 0x25
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
jmp 0x56c993
mov dl, 0x26
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
jmp 0x56c993
mov dl, 1
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
jmp 0x56c993
mov dl, 2
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
jmp 0x56c993
mov dl, 0xc
mov eax, dword [edi]
call fcn.0056add4
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 0x56c993
mov dl, 0xd
mov eax, dword [edi]
call fcn.0056add4
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 0x56c993
push ebp
mov al, 4
call fcn.0056bbd0
pop ecx
mov dword [ebp - 4], eax
push ebp
mov eax, dword [edi]
mov eax, dword [eax + 0x118]
call fcn.0056bff8
pop ecx
push ebp
xor eax, eax
call fcn.0056bce0
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 0x56c993
push ebp
mov al, 5
call fcn.0056bbd0
pop ecx
mov dword [ebp - 4], eax
push ebp
mov eax, dword [edi]
mov eax, dword [eax + 0x118]
call fcn.0056bff8
pop ecx
push ebp
xor eax, eax
call fcn.0056bce0
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 0x56c993
push ebp
mov al, 4
call fcn.0056bbd0
pop ecx
mov dword [ebp - 4], eax
push ebp
mov eax, dword [edi]
mov eax, dword [eax + 0x11c]
call fcn.0056bff8
pop ecx
push ebp
xor eax, eax
call fcn.0056bce0
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 0x56c993
push ebp
mov al, 5
call fcn.0056bbd0
pop ecx
mov dword [ebp - 4], eax
push ebp
mov eax, dword [edi]
mov eax, dword [eax + 0x11c]
call fcn.0056bff8
pop ecx
push ebp
xor eax, eax
call fcn.0056bce0
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 0x56c993
mov eax, dword [edi]
test byte [eax + 0x110], 1
je 0x56c94c
mov dl, 0x1d
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
jmp 0x56c958
mov dl, 0x1c
mov eax, dword [edi]
call fcn.0056add4
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.0056ae18
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 0x56c993
push ebp
push ebp
mov eax, dword [edi]
add eax, 0xe0
call fcn.0056c02c
pop ecx
call fcn.0056bb18
pop ecx
mov eax, dword [edi]
inc dword [eax + 0xe0]
jmp 0x56cb50
mov eax, dword [edi]
dec dword [eax + 0xe0]
mov edx, dword [edi]
test byte [edx + 0x110], 0x20
je 0x56ca4f
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
cmp al, 0x23
je 0x56c9d3
add al, 0xf7
sub al, 2
jb 0x56c9d3
sub al, 2
je 0x56c9d3
sub al, 0x13
jne 0x56ca4f
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x23
jne 0x56ca26
jmp 0x56c9ea
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 0x56ca0a
cmp al, 0xd
je 0x56ca0a
cmp al, 0xa
jne 0x56c9e2
jmp 0x56ca0a
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 0x56ca02
cmp al, 0xa
je 0x56ca02
jmp 0x56ca3e
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 0x56ca1e
sub al, 2
je 0x56ca1e
sub al, 0x13
je 0x56ca1e
mov dl, 0x13
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
jmp 0x56cb50
mov edx, 0x5aa394
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
call fcn.0056aeb8
mov ebx, eax
test ebx, ebx
jg 0x56ca94
mov eax, dword [edi]
mov ebx, dword [eax + 0xe0]
cmp byte [ebx], 0x7b
je 0x56ca84
mov edx, 0x77
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x56cb56
mov edx, 0x5aa394
mov eax, ebx
inc eax
call fcn.0056aeb8
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 0x56cab6
cmp al, 0x2a
je 0x56cab5
cmp al, 0x2b
je 0x56cab5
cmp al, 0x3f
je 0x56cab5
cmp al, 0x7b
jne 0x56cab6
dec ebx
mov eax, dword [ebp - 0xc]
or dword [eax], 1
cmp ebx, 1
jne 0x56cac7
mov eax, dword [ebp - 0xc]
or dword [eax], 2
mov eax, dword [edi]
test byte [eax + 0x110], 1
je 0x56cae0
mov dl, 0x14
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
jmp 0x56cb2b
mov dl, 8
mov eax, dword [edi]
call fcn.0056add4
mov dword [ebp - 4], eax
jmp 0x56cb2b
mov eax, dword [edi]
test byte [eax + 0x110], 0x20
je 0x56cb11
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
add al, 0xf7
sub al, 2
jb 0x56cb22
sub al, 2
je 0x56cb22
sub al, 0x13
je 0x56cb22
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
mov dl, byte [eax]
mov eax, dword [edi]
call fcn.0056ae18
mov eax, dword [edi]
inc dword [eax + 0xe0]
dec ebx
test ebx, ebx
jle 0x56cb47
mov eax, dword [edi]
test byte [eax + 0x110], 0x20
je 0x56caee
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x23
jne 0x56caee
xor edx, edx
mov eax, dword [edi]
call fcn.0056ae18
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 0x56cb78
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00404920
ret