Function at 0x527d20
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x52807f
push ebx
push edi
cmp eax, 0x7c
je 0x52807d
cmp eax, 0x29
jne 0x527d5d
cmp dword [esi + 0x10], 0
jne 0x52807d
test dword [esi + 0x50], 0x10000000
je 0x52808c
jmp 0x528013
cmp eax, 0x2e
jne 0x527d71
push 5
lea ecx, [esi + 0x24]
call fcn.0052a570
jmp 0x528020
cmp eax, 0x5c
jne 0x527e43
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x527dbb
cmp byte [eax], 0x5c
jne 0x527db8
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x527db6
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x527da5
mov bl, byte [ecx]
cmp bl, 0x28
je 0x527db8
cmp bl, 0x29
je 0x527db8
test dl, 0x10
jne 0x527db6
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x527db8
cmp cl, 0x7d
je 0x527db8
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0052a8a0
test byte [esi + 0x50], 0x80
je 0x527e37
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x527e20
push 4
lea ecx, [esi + 0x24]
call fcn.0052a570
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x527fbd
cmp byte [eax], 0x5c
jne 0x527fba
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x527fb8
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x527e18
mov dl, byte [ecx]
cmp dl, 0x28
je 0x527fba
cmp dl, 0x29
je 0x527fba
test bl, 0x10
jmp 0x527faa
cmp al, 0x42
jne 0x527e37
push 4
lea ecx, [esi + 0x24]
call fcn.0052a570
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x527dd9
mov ecx, esi
call fcn.005280b0
jmp 0x528068
cmp eax, 0x5b
jne 0x527ef0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x527e8d
cmp byte [eax], 0x5c
jne 0x527e8a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x527e88
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x527e77
mov bl, byte [ecx]
cmp bl, 0x28
je 0x527e8a
cmp bl, 0x29
je 0x527e8a
test dl, 0x10
jne 0x527e88
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x527e8a
cmp cl, 0x7d
je 0x527e8a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0052a8a0
lea ecx, [esi + 0x24]
call fcn.005274b0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x527eb5
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0052a5f0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x527ed3
cmp eax, 0x5d
jne 0x527ed3
push eax
lea ecx, [esi + 0x24]
call fcn.00527420
mov ecx, esi
call fcn.0052a5f0
mov ecx, esi
call fcn.00528870
cmp dword [esi + 0x4c], 0x5d
jne 0x52809e
mov ecx, esi
call fcn.0052a5f0
jmp 0x528068
cmp eax, 0x28
jne 0x527f64
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x527f36
cmp byte [eax], 0x5c
jne 0x527f33
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x527f31
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x527f20
mov bl, byte [ecx]
cmp bl, 0x28
je 0x527f33
cmp bl, 0x29
je 0x527f33
test dl, 0x10
jne 0x527f31
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x527f33
cmp cl, 0x7d
je 0x527f33
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0052a8a0
mov ecx, esi
call fcn.0052aaf0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x52808c
mov ecx, esi
call fcn.0052a5f0
test bl, bl
je 0x52806f
jmp 0x528068
cmp eax, 0x5e
jne 0x527f6d
push 2
jmp 0x527f74
cmp eax, 0x24
jne 0x527fc9
push 3
lea ecx, [esi + 0x24]
call fcn.0052a570
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x527fbd
cmp byte [eax], 0x5c
jne 0x527fba
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x527fb8
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x527fa7
mov bl, byte [ecx]
cmp bl, 0x28
je 0x527fba
cmp bl, 0x29
je 0x527fba
test dl, 0x10
jne 0x527fb8
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x527fba
cmp cl, 0x7d
je 0x527fba
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0052a8a0
jmp 0x52806f
cmp eax, 0x2a
je 0x528083
cmp eax, 0x2b
je 0x528083
cmp eax, 0x3f
je 0x528083
cmp eax, 0x7b
je 0x528083
cmp eax, 0x7d
jne 0x528001
test dword [esi + 0x50], 0x10000000
je 0x528095
jmp 0x528013
cmp eax, 0x5d
jne 0x528013
test dword [esi + 0x50], 0x10000000
je 0x52809e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00527250
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x528061
cmp byte [eax], 0x5c
jne 0x52805e
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x52805c
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x52804b
mov bl, byte [ecx]
cmp bl, 0x28
je 0x52805e
cmp bl, 0x29
je 0x52805e
test dl, 0x10
jne 0x52805c
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x52805e
cmp cl, 0x7d
je 0x52805e
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0052a8a0
mov ecx, esi
call fcn.0052a650
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x527d33
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00529de0
push 5
mov ecx, esi
call fcn.00529de0
push 6
mov ecx, esi
call fcn.00529de0
push 4
mov ecx, esi
call fcn.00529de0
int3