Function at 0x5654b0
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp]
push esi
mov esi, dword [esp + 0x24]
mov edx, eax
mov dword [esp + 0xc], ecx
cmp byte [ecx], 0x28
push edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], 0
jne 0x56564b
mov dl, byte [ecx + 1]
cmp dl, 0x2a
jne 0x5654ff
add ecx, 2
mov dword [esp + 0x10], ecx
jmp 0x56564b
cmp dl, 0x3f
je 0x56551e
inc eax
mov dword [ebp], eax
test esi, esi
jne 0x565514
cmp eax, edi
je 0x56581f
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x56564b
mov dl, byte [ecx + 2]
cmp dl, 0x7c
jne 0x56553a
add ecx, 3
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
jmp 0x56564b
cmp dl, 0x23
jne 0x565574
add ecx, 3
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x565816
cmp al, 0x29
je 0x565816
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x565550
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
add ecx, 2
mov dword [esp + 0x10], ecx
cmp dl, 0x28
jne 0x5655c7
cmp byte [ecx + 1], 0x3f
je 0x56564b
mov al, byte [ecx]
test al, al
je 0x565816
cmp al, 0x29
je 0x5655b4
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x565594
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
cmp byte [ecx], 0
je 0x565816
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x56564b
cmp byte [ecx], 0x50
jne 0x5655d1
inc ecx
mov dword [esp + 0x10], ecx
mov dl, byte [ecx]
cmp dl, 0x3c
jne 0x5655e5
mov bl, byte [ecx + 1]
cmp bl, 0x21
je 0x5655e5
cmp bl, 0x3d
jne 0x5655ea
cmp dl, 0x27
jne 0x56564b
inc eax
mov dword [ebp], eax
test esi, esi
jne 0x5655fa
cmp eax, edi
je 0x56581f
movzx eax, byte [ecx]
inc ecx
mov dword [esp + 0x10], ecx
cmp eax, 0x3c
jne 0x56560c
mov eax, 0x3e
movzx ebx, byte [ecx]
mov edx, ecx
cmp ebx, eax
je 0x565621
inc ecx
mov dword [esp + 0x10], ecx
movzx ebx, byte [ecx]
cmp ebx, eax
jne 0x565615
test esi, esi
je 0x56564b
mov eax, ecx
sub eax, edx
cmp edi, eax
jne 0x56564b
push edi
push edx
push esi
call fcn.00576dc1
add esp, 0xc
test eax, eax
jne 0x565647
mov eax, dword [ebp]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
test al, al
je 0x565816
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
jmp 0x565664
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
cmp al, 0x5c
jne 0x5656ad
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x565816
cmp al, 0x51
jne 0x5657e7
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x565816
cmp al, 0x5c
jne 0x565683
test al, al
je 0x565816
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x565683
jmp 0x5657e7
cmp al, 0x5b
jne 0x565772
xor esi, esi
mov al, byte [ecx + 1]
cmp al, 0x5c
jne 0x5656ed
add ecx, 2
cmp byte [ecx], 0x45
jne 0x5656cc
mov dword [esp + 0x10], ecx
jmp 0x5656b7
push 3
push 0x497ad0
push ecx
call fcn.00576dc1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x565701
add ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x5656b7
test esi, esi
jne 0x565701
cmp al, 0x5e
jne 0x565701
inc ecx
mov esi, 1
mov dword [esp + 0x10], ecx
jmp 0x5656b7
cmp byte [ecx + 1], 0x5d
jne 0x565711
test dword [ebx + 0x44], 0x2000000
jne 0x565711
inc ecx
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
je 0x5657e7
test al, al
je 0x56581c
cmp al, 0x5c
jne 0x565765
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x565816
cmp al, 0x51
jne 0x565765
nop
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x565816
cmp al, 0x5c
jne 0x565740
test al, al
je 0x565816
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x565740
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
jne 0x565720
jmp 0x5657e7
test edi, edi
je 0x56579d
cmp al, 0x23
jne 0x56579d
lea ebx, [ebx]
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x565816
cmp al, 0xa
jne 0x565780
test al, al
je 0x565816
jmp 0x5657e7
cmp al, 0x28
jne 0x5657c6
mov ecx, dword [esp + 0x2c]
push ebp
push edi
push ecx
push esi
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.005654b0
add esp, 0x18
test eax, eax
jg 0x56581f
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0
je 0x565816
jmp 0x5657e7
cmp al, 0x29
je 0x565807
cmp al, 0x7c
jne 0x5657e7
cmp dword [esp + 0x14], 0
je 0x5657e7
mov eax, dword [ebp]
cmp eax, edx
jle 0x5657e0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [ebp], eax
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x565660
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
cmp dword [esp + 0x14], 0
je 0x565816
cmp dword [ebp], edx
jge 0x565816
mov dword [ebp], edx
mov edx, dword [esp + 0x20]
mov dword [edx], ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret