Function at 0x566180
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x5664df
push ebx
push edi
cmp eax, 0x7c
je 0x5664dd
cmp eax, 0x29
jne 0x5661bd
cmp dword [esi + 0x10], 0
jne 0x5664dd
test dword [esi + 0x50], 0x10000000
je 0x5664ec
jmp 0x566473
cmp eax, 0x2e
jne 0x5661d1
push 5
lea ecx, [esi + 0x24]
call fcn.0056b6e0
jmp 0x566480
cmp eax, 0x5c
jne 0x5662a3
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x56621b
cmp byte [eax], 0x5c
jne 0x566218
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x566216
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x566205
mov bl, byte [ecx]
cmp bl, 0x28
je 0x566218
cmp bl, 0x29
je 0x566218
test dl, 0x10
jne 0x566216
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x566218
cmp cl, 0x7d
je 0x566218
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0056bb00
test byte [esi + 0x50], 0x80
je 0x566297
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x566280
push 4
lea ecx, [esi + 0x24]
call fcn.0056b6e0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x56641d
cmp byte [eax], 0x5c
jne 0x56641a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x566418
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x566278
mov dl, byte [ecx]
cmp dl, 0x28
je 0x56641a
cmp dl, 0x29
je 0x56641a
test bl, 0x10
jmp 0x56640a
cmp al, 0x42
jne 0x566297
push 4
lea ecx, [esi + 0x24]
call fcn.0056b6e0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x566239
mov ecx, esi
call fcn.00566510
jmp 0x5664c8
cmp eax, 0x5b
jne 0x566350
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x5662ed
cmp byte [eax], 0x5c
jne 0x5662ea
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x5662e8
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x5662d7
mov bl, byte [ecx]
cmp bl, 0x28
je 0x5662ea
cmp bl, 0x29
je 0x5662ea
test dl, 0x10
jne 0x5662e8
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x5662ea
cmp cl, 0x7d
je 0x5662ea
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0056bb00
lea ecx, [esi + 0x24]
call fcn.00565970
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x566315
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0056b750
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x566333
cmp eax, 0x5d
jne 0x566333
push eax
lea ecx, [esi + 0x24]
call fcn.00565900
mov ecx, esi
call fcn.0056b750
mov ecx, esi
call fcn.00566d30
cmp dword [esi + 0x4c], 0x5d
jne 0x5664fe
mov ecx, esi
call fcn.0056b750
jmp 0x5664c8
cmp eax, 0x28
jne 0x5663c4
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x566396
cmp byte [eax], 0x5c
jne 0x566393
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x566391
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x566380
mov bl, byte [ecx]
cmp bl, 0x28
je 0x566393
cmp bl, 0x29
je 0x566393
test dl, 0x10
jne 0x566391
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x566393
cmp cl, 0x7d
je 0x566393
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0056bb00
mov ecx, esi
call fcn.0056bd50
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x5664ec
mov ecx, esi
call fcn.0056b750
test bl, bl
je 0x5664cf
jmp 0x5664c8
cmp eax, 0x5e
jne 0x5663cd
push 2
jmp 0x5663d4
cmp eax, 0x24
jne 0x566429
push 3
lea ecx, [esi + 0x24]
call fcn.0056b6e0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x56641d
cmp byte [eax], 0x5c
jne 0x56641a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x566418
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x566407
mov bl, byte [ecx]
cmp bl, 0x28
je 0x56641a
cmp bl, 0x29
je 0x56641a
test dl, 0x10
jne 0x566418
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x56641a
cmp cl, 0x7d
je 0x56641a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0056bb00
jmp 0x5664cf
cmp eax, 0x2a
je 0x5664e3
cmp eax, 0x2b
je 0x5664e3
cmp eax, 0x3f
je 0x5664e3
cmp eax, 0x7b
je 0x5664e3
cmp eax, 0x7d
jne 0x566461
test dword [esi + 0x50], 0x10000000
je 0x5664f5
jmp 0x566473
cmp eax, 0x5d
jne 0x566473
test dword [esi + 0x50], 0x10000000
je 0x5664fe
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00565750
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x5664c1
cmp byte [eax], 0x5c
jne 0x5664be
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x5664bc
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x5664ab
mov bl, byte [ecx]
cmp bl, 0x28
je 0x5664be
cmp bl, 0x29
je 0x5664be
test dl, 0x10
jne 0x5664bc
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x5664be
cmp cl, 0x7d
je 0x5664be
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0056bb00
mov ecx, esi
call fcn.0056b800
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x566193
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00567e30
push 5
mov ecx, esi
call fcn.00567e30
push 6
mov ecx, esi
call fcn.00567e30
push 4
mov ecx, esi
call fcn.00567e30
int3