Function at 0x565830
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [eax + 0x18]
push esi
xor edx, edx
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10], edx
jmp 0x565854
mov edi, dword [esp + 0x28]
cmp byte [ebp], 0x28
mov esi, ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
mov ebx, edx
mov dword [esp + 0x18], 0
jne 0x56587f
mov al, byte [ebp + 1]
lea esi, [ebp + 1]
cmp al, 0x2a
jne 0x5658d3
lea esi, [ebp + 2]
mov dword [esp + 0x14], esi
mov al, byte [esi]
test al, al
je 0x565b49
lea esp, [esp]
cmp al, 0x5c
jne 0x565a28
mov al, byte [esi + 1]
inc esi
test al, al
je 0x565b49
cmp al, 0x51
jne 0x565ada
lea esp, [esp]
mov al, byte [esi + 1]
inc esi
test al, al
je 0x565b49
cmp al, 0x5c
jne 0x5658b0
test al, al
je 0x565b49
inc esi
cmp byte [esi], 0x45
jne 0x5658b0
jmp 0x565ada
cmp al, 0x3f
je 0x565900
inc edx
mov dword [esp + 0x10], edx
test edi, edi
jne 0x56587b
cmp edx, dword [esp + 0x2c]
jne 0x56587b
mov eax, edx
test eax, eax
jg 0x5658f8
mov cl, byte [ebp]
inc ebp
test cl, cl
jne 0x565850
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov al, byte [ebp + 2]
lea esi, [ebp + 2]
cmp al, 0x7c
jne 0x56591a
lea esi, [ebp + 3]
mov dword [esp + 0x18], 1
jmp 0x56587b
cmp al, 0x23
jne 0x565947
mov al, byte [ebp + 3]
lea esi, [ebp + 3]
test al, al
je 0x565b49
lea esp, [esp]
cmp al, 0x29
je 0x565b49
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x565930
mov ebp, esi
or eax, 0xffffffff
jmp 0x5658ec
mov dword [esp + 0x14], esi
cmp al, 0x28
jne 0x565988
cmp byte [esi + 1], 0x3f
je 0x56587f
mov al, byte [esi]
test al, al
je 0x565b49
cmp al, 0x29
je 0x565979
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x565963
mov ebp, esi
or eax, 0xffffffff
jmp 0x5658ec
cmp byte [esi], 0
je 0x565b49
inc esi
jmp 0x56587b
cmp byte [esi], 0x50
jne 0x565992
inc esi
mov dword [esp + 0x14], esi
mov cl, byte [esi]
cmp cl, 0x3c
jne 0x5659a4
mov al, byte [esi + 1]
cmp al, 0x21
je 0x5659a4
cmp al, 0x3d
jne 0x5659ad
cmp cl, 0x27
jne 0x56587f
inc edx
mov dword [esp + 0x10], edx
test edi, edi
jne 0x5659c0
cmp edx, dword [esp + 0x2c]
je 0x5658e6
movzx eax, byte [esi]
inc esi
mov dword [esp + 0x14], esi
cmp eax, 0x3c
jne 0x5659d2
mov eax, 0x3e
movzx edi, byte [esi]
mov ecx, esi
cmp edi, eax
je 0x5659ed
jmp 0x5659e0
movzx edi, byte [esi + 1]
inc esi
cmp edi, eax
jne 0x5659e0
mov dword [esp + 0x14], esi
cmp dword [esp + 0x28], 0
je 0x56587f
mov eax, dword [esp + 0x2c]
mov edi, esi
sub edi, ecx
cmp eax, edi
jne 0x56587f
push eax
push ecx
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00576dc1
mov edx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x56587f
jmp 0x5658e6
cmp al, 0x5b
jne 0x565af4
xor edi, edi
mov al, byte [esi + 1]
cmp al, 0x5c
jne 0x565a5f
cmp byte [esi + 2], 0x45
lea eax, [esi + 2]
jne 0x565a46
mov esi, eax
jmp 0x565a32
push 3
push 0x497ad0
push eax
call fcn.00576dc1
add esp, 0xc
test eax, eax
jne 0x565a6f
add esi, 4
jmp 0x565a32
test edi, edi
jne 0x565a6f
cmp al, 0x5e
jne 0x565a6f
mov edi, 1
inc esi
jmp 0x565a32
cmp byte [esi + 1], 0x5d
jne 0x565a83
mov edx, dword [esp + 0x24]
test dword [edx + 0x44], 0x2000000
jne 0x565a83
inc esi
mov al, byte [esi + 1]
inc esi
cmp al, 0x5d
je 0x565ad6
jmp 0x565a90
test al, al
je 0x565b7d
cmp al, 0x5c
jne 0x565ace
mov al, byte [esi + 1]
inc esi
test al, al
je 0x565b45
cmp al, 0x51
jne 0x565ace
lea esp, [esp]
mov al, byte [esi + 1]
inc esi
test al, al
je 0x565b45
cmp al, 0x5c
jne 0x565ab0
test al, al
je 0x565b45
inc esi
cmp byte [esi], 0x45
jne 0x565ab0
mov al, byte [esi + 1]
inc esi
cmp al, 0x5d
jne 0x565a90
mov edx, dword [esp + 0x10]
mov al, byte [esi + 1]
inc esi
mov dword [esp + 0x14], esi
test al, al
jne 0x565890
mov ebp, esi
or eax, 0xffffffff
jmp 0x5658ec
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x565b12
cmp al, 0x23
jne 0x565b12
mov al, byte [esi + 1]
inc esi
test al, al
je 0x565b49
cmp al, 0xa
jne 0x565b00
test al, al
je 0x565b49
jmp 0x565ada
cmp al, 0x28
jne 0x565b53
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.005654b0
add esp, 0x18
test eax, eax
jg 0x565b89
mov esi, dword [esp + 0x14]
cmp byte [esi], 0
jne 0x565ad6
mov edx, dword [esp + 0x10]
mov ebp, esi
or eax, 0xffffffff
jmp 0x5658ec
cmp al, 0x29
je 0x565b92
cmp al, 0x7c
jne 0x565ada
cmp dword [esp + 0x18], 0
je 0x565ada
cmp edx, ebx
jle 0x565b70
mov ebx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
jmp 0x565ada
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
jmp 0x5658ec
mov edx, dword [esp + 0x10]
jmp 0x5658e8
cmp dword [esp + 0x18], 0
je 0x565b49
cmp edx, ebx
jge 0x565b49
mov edx, ebx
mov dword [esp + 0x10], edx
mov ebp, esi
or eax, 0xffffffff
jmp 0x5658ec