Function at 0x47aa70
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x47adc4
cmp eax, 0x7c
je 0x47adc4
cmp eax, 0x29
jne 0x47aaad
cmp dword [esi + 0x10], 0
jne 0x47adc4
test dword [esi + 0x50], 0x10000000
je 0x47add1
jmp 0x47ad5a
cmp eax, 0x2e
jne 0x47aac1
push 5
lea ecx, [esi + 0x24]
call fcn.0047adf0
jmp 0x47ad67
cmp eax, 0x5c
jne 0x47ab93
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x47ab0b
cmp byte [eax], 0x5c
jne 0x47ab08
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x47ab06
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x47aaf5
mov bl, byte [ecx]
cmp bl, 0x28
je 0x47ab08
cmp bl, 0x29
je 0x47ab08
test dl, 0x10
jne 0x47ab06
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x47ab08
cmp cl, 0x7d
je 0x47ab08
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004790b0
test byte [esi + 0x50], 0x80
je 0x47ab87
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x47ab70
push 4
lea ecx, [esi + 0x24]
call fcn.0047adf0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x47ad08
cmp byte [eax], 0x5c
jne 0x47ad05
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x47ad03
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x47ab68
mov dl, byte [ecx]
cmp dl, 0x28
je 0x47ad05
cmp dl, 0x29
je 0x47ad05
test bl, 0x10
jmp 0x47acf5
cmp al, 0x42
jne 0x47ab87
push 4
lea ecx, [esi + 0x24]
call fcn.0047adf0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x47ab29
mov ecx, esi
call fcn.0047c1c0
jmp 0x47adaf
cmp eax, 0x5b
jne 0x47abf6
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x47abd9
cmp byte [eax], 0x5c
jne 0x47abd6
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x47abd4
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x47abc3
mov bl, byte [ecx]
cmp bl, 0x28
je 0x47abd6
cmp bl, 0x29
je 0x47abd6
test dl, 0x10
jne 0x47abd4
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x47abd6
cmp cl, 0x7d
je 0x47abd6
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004790b0
mov ecx, esi
call fcn.0047c0a0
cmp dword [esi + 0x4c], 0x5d
jne 0x47add8
jmp 0x47ad67
cmp eax, 0x28
jne 0x47acaf
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x47ac40
cmp byte [eax], 0x5c
jne 0x47ac3d
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x47ac3b
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x47ac2a
mov bl, byte [ecx]
cmp bl, 0x28
je 0x47ac3d
cmp bl, 0x29
je 0x47ac3d
test dl, 0x10
jne 0x47ac3b
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x47ac3d
cmp cl, 0x7d
je 0x47ac3d
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004790b0
mov ecx, esi
call fcn.0047c310
cmp dword [esi + 0x4c], 0x29
mov bh, al
jne 0x47add1
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x47ac9b
cmp byte [eax], 0x5c
jne 0x47ac98
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x47ac96
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x47ac85
mov bl, byte [ecx]
cmp bl, 0x28
je 0x47ac98
cmp bl, 0x29
je 0x47ac98
test dl, 0x10
jne 0x47ac96
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x47ac98
cmp cl, 0x7d
je 0x47ac98
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004790b0
test bh, bh
je 0x47adb6
jmp 0x47adaf
cmp eax, 0x5e
jne 0x47acb8
push 2
jmp 0x47acbf
cmp eax, 0x24
jne 0x47ad14
push 3
lea ecx, [esi + 0x24]
call fcn.0047adf0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x47ad08
cmp byte [eax], 0x5c
jne 0x47ad05
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x47ad03
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x47acf2
mov bl, byte [ecx]
cmp bl, 0x28
je 0x47ad05
cmp bl, 0x29
je 0x47ad05
test dl, 0x10
jne 0x47ad03
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x47ad05
cmp cl, 0x7d
je 0x47ad05
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004790b0
jmp 0x47adb6
cmp eax, 0x2a
je 0x47adca
cmp eax, 0x2b
je 0x47adca
cmp eax, 0x3f
je 0x47adca
cmp eax, 0x7b
je 0x47adca
cmp eax, 0x7d
jne 0x47ad4c
test dword [esi + 0x50], 0x10000000
je 0x47addf
jmp 0x47ad5a
cmp eax, 0x5d
jne 0x47ad5a
test dword [esi + 0x50], 0x10000000
je 0x47add8
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0047c6f0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x47ada8
cmp byte [eax], 0x5c
jne 0x47ada5
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x47ada3
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x47ad92
mov bl, byte [ecx]
cmp bl, 0x28
je 0x47ada5
cmp bl, 0x29
je 0x47ada5
test dl, 0x10
jne 0x47ada3
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x47ada5
cmp cl, 0x7d
je 0x47ada5
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004790b0
mov ecx, esi
call fcn.0047c4c0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x47aa83
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 0xa
call fcn.004790a0
push 5
call fcn.004790a0
push 4
call fcn.004790a0
push 6
call fcn.004790a0
int3