Function at 0x596a80
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
movzx eax, word [ebp - 0x98]
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
movzx eax, word [ebp - 0x34]
or ecx, eax
mov byte [ebp - 0xa8], cl
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xa8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x8c], 0
ja 0x596abc
cmp dword [ebp - 0x60], 0
je 0x596ac6
cmp dword [ebp - 0x14], 0
jb 0x596e09
movzx eax, byte [ebp - 8]
sub eax, dword [ebp - 0x9c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x98]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x98]
add eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x3c]
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x84]
jb 0x596c7a
cmp dword [ebp - 0x94], 0
je 0x596c7a
cmp dword [ebp - 0x8c], 0
ja 0x596c7a
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x90], eax
movzx eax, word [ebp - 0x94]
mov ecx, dword [ebp - 0x40]
sub ecx, eax
mov dword [ebp - 0x58], ecx
movzx eax, word [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
sub ecx, dword [ebp - 0x54]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
and dword [ebp - 0x14], 0
jmp 0x596b76
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jae 0x596b87
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
jmp 0x596b6f
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x50]
jb 0x596ba0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x2c]
je 0x596bdd
cmp dword [ebp - 0x98], 0
jbe 0x596bdd
movzx eax, word [ebp - 0x74]
sub eax, dword [ebp - 0x5c]
and eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18], eax
movzx eax, word [ebp - 0x80]
sub eax, dword [ebp - 4]
or eax, dword [ebp - 8]
mov dword [ebp - 0x90], eax
movzx eax, word [ebp - 0x4c]
movzx ecx, byte [ebp - 0x68]
add eax, dword [ebp - 0x9c]
add ecx, eax
mov dword [ebp - 0x18], ecx
movzx eax, word [ebp - 0x88]
add eax, dword [ebp - 0x3c]
mov byte [ebp - 8], al
movzx eax, byte [ebp - 0x4c]
cmp dword [ebp - 0x9c], eax
jb 0x596bf5
cmp dword [ebp - 0x50], 0
ja 0x596bf5
cmp dword [ebp - 0x58], 0
je 0x596c6e
movzx eax, byte [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
sub ecx, eax
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x60]
add eax, dword [ebp - 0xa0]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x20], 0x77f
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 4]
sub eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x44]
add eax, dword [ebp - 0x94]
movzx ecx, byte [ebp - 8]
sub eax, ecx
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x20], 0x787
jb 0x596c23
movzx eax, word [ebp - 0x7c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xa4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x88]
movzx ecx, byte [ebp - 0x24]
add eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x64]
imul eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x74], 0
jae 0x596cc3
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xa0]
je 0x596ddd
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x28]
je 0x596d1d
cmp dword [ebp - 0x3c], 0
je 0x596d1d
movzx eax, word [ebp - 0x6c]
cmp dword [ebp - 0x24], eax
jbe 0x596d1d
mov eax, dword [ebp - 0x28]
and eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
movzx eax, word [ebp - 8]
movzx ecx, byte [ebp - 0x74]
add eax, dword [ebp - 0x70]
add ecx, eax
mov dword [ebp - 0x48], ecx
movzx eax, byte [ebp - 0x28]
or eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
movzx eax, word [ebp - 0x88]
add eax, dword [ebp - 0x1c]
mov word [ebp - 8], ax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x18]
jae 0x596d37
cmp dword [ebp - 0xc], 0
jne 0x596d3f
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0xc]
jb 0x596d71
movzx eax, word [ebp - 0x88]
sub eax, dword [ebp - 0x3c]
or eax, dword [ebp - 0x48]
mov dword [ebp - 0x64], eax
movzx eax, word [ebp - 0x40]
movzx ecx, word [ebp - 8]
add eax, ecx
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xa8]
or eax, dword [ebp - 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x84]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x9c]
jae 0x596d9d
cmp dword [ebp - 0xa4], 0
je 0x596da5
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 4]
je 0x596ddd
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x84]
mov word [ebp - 0x14], ax
movzx eax, word [ebp - 0x24]
or eax, dword [ebp - 0x1c]
mov byte [ebp - 0x44], al
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x78]
movzx ecx, word [ebp - 0x84]
add eax, ecx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x7c]
or eax, dword [ebp - 0xa8]
mov dword [ebp - 0x78], eax
movzx eax, word [ebp - 0x3c]
mov ecx, dword [ebp - 0x6c]
sub ecx, eax
add ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x94], ecx
movzx eax, word [ebp - 0x20]
sub eax, dword [ebp - 0x78]
mov dword [ebp - 0x58], eax
movzx eax, byte [ebp - 0x6c]
sub eax, dword [ebp - 0xa8]
mov dword [ebp - 0x30], eax
movzx eax, byte [ebp - 8]
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov byte [ebp - 0x40], cl
movzx eax, byte [ebp - 0x24]
movzx ecx, byte [ebp - 0x34]
add eax, ecx
or eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x68], 0
jb 0x597164
cmp dword [ebp - 4], 0
je 0x597164
cmp dword [ebp - 0xa8], 0
ja 0x597164
movzx eax, byte [ebp - 0x3c]
add eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x20]
mov byte [ebp - 0x94], al
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x40]
jne 0x596fb8
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x6c]
jae 0x596fb8
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0xa8], eax
movzx eax, byte [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
sub ecx, eax
mov byte [ebp - 0x90], cl
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
je 0x596f58
cmp dword [ebp - 0x18], 0
je 0x596f58
movzx eax, word [ebp - 0x10]
add eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 7
je 0x596ef8
cmp dword [ebp - 0xd0], 0x44
je 0x596eed
cmp dword [ebp - 0xd0], 0x51
je 0x596f06
cmp dword [ebp - 0xd0], 0x8a
je 0x596f1a
jmp 0x596f2b
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
jmp 0x596f3d
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
jmp 0x596f3d
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
jmp 0x596f3d
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x34]
mov byte [ebp - 0x4c], al
jmp 0x596f3d
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x30]
and eax, dword [ebp - 0x94]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
or eax, dword [ebp - 0x2c]
or eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0xa4], 0
jne 0x596f75
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x2c]
jne 0x596fa5
mov eax, dword [ebp - 0x70]
or eax, dword [ebp - 0x58]
mov dword [ebp - 0xa4], eax
movzx eax, byte [ebp - 4]
or eax, dword [ebp - 0x34]
mov byte [ebp - 0x40], al
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x80]
movzx ecx, byte [ebp - 0x40]
add eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x596fb8
movzx eax, byte [ebp - 0x18]
sub eax, dword [ebp - 0x18]
movzx ecx, word [ebp - 0xa4]
add eax, ecx
mov dword [ebp - 0x6c], eax
movzx eax, byte [ebp - 0x28]
movzx ecx, word [ebp - 0x48]
add eax, ecx
and eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x24]
ja 0x596fe2
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x74]
je 0x59709c
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0x9c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x94]
ja 0x59700b
cmp dword [ebp - 0x70], 0