Function at 0x47bb10
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x47be8d
push ebx
push edi
cmp eax, 0x7c
je 0x47be8b
cmp eax, 0x29
jne 0x47bb4d
cmp dword [esi + 0x10], 0
jne 0x47be8b
test dword [esi + 0x50], 0x10000000
je 0x47be9a
jmp 0x47be1c
cmp eax, 0x2e
jne 0x47bb61
push 5
lea ecx, [esi + 0x24]
call fcn.0047f170
jmp 0x47be29
cmp eax, 0x5c
jne 0x47bc3d
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x47bbb0
cmp word [eax], 0x5c
jne 0x47bbab
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x47bba9
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x47bb97
movzx edi, word [ecx]
cmp edi, 0x28
je 0x47bbab
cmp edi, 0x29
je 0x47bbab
test dl, 0x10
jne 0x47bba9
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x47bbab
cmp ecx, 0x7d
je 0x47bbab
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0047f700
test byte [esi + 0x50], 0x80
je 0x47bc31
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x47bc19
push 4
lea ecx, [esi + 0x24]
call fcn.0047f170
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x47bdc6
cmp word [eax], 0x5c
jne 0x47bdc1
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x47bdbf
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x47bc11
movzx edx, word [ecx]
cmp edx, 0x28
je 0x47bdc1
cmp edx, 0x29
je 0x47bdc1
test bl, 0x10
jmp 0x47bdb0
cmp eax, 0x42
jne 0x47bc31
push 4
lea ecx, [esi + 0x24]
call fcn.0047f170
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x47bbd0
mov ecx, esi
call fcn.0047bec0
jmp 0x47be76
cmp eax, 0x5b
jne 0x47bcef
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x47bc8c
cmp word [eax], 0x5c
jne 0x47bc87
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x47bc85
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x47bc73
movzx edi, word [ecx]
cmp edi, 0x28
je 0x47bc87
cmp edi, 0x29
je 0x47bc87
test dl, 0x10
jne 0x47bc85
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x47bc87
cmp ecx, 0x7d
je 0x47bc87
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0047f700
lea ecx, [esi + 0x24]
call fcn.0047b330
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x47bcb4
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0047f1e0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x47bcd2
cmp eax, 0x5d
jne 0x47bcd2
push eax
lea ecx, [esi + 0x24]
call fcn.0047b2a0
mov ecx, esi
call fcn.0047f1e0
mov ecx, esi
call fcn.0047c6f0
cmp dword [esi + 0x4c], 0x5d
jne 0x47beac
mov ecx, esi
call fcn.0047f1e0
jmp 0x47be76
cmp eax, 0x28
jne 0x47bd68
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x47bd3a
cmp word [eax], 0x5c
jne 0x47bd35
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x47bd33
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x47bd21
movzx edi, word [ecx]
cmp edi, 0x28
je 0x47bd35
cmp edi, 0x29
je 0x47bd35
test dl, 0x10
jne 0x47bd33
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x47bd35
cmp ecx, 0x7d
je 0x47bd35
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0047f700
mov ecx, esi
call fcn.0047f960
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x47be9a
mov ecx, esi
call fcn.0047f1e0
test bl, bl
je 0x47be7d
jmp 0x47be76
cmp eax, 0x5e
jne 0x47bd71
push 2
jmp 0x47bd78
cmp eax, 0x24
jne 0x47bdd2
push 3
lea ecx, [esi + 0x24]
call fcn.0047f170
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x47bdc6
cmp word [eax], 0x5c
jne 0x47bdc1
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x47bdbf
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x47bdad
movzx edi, word [ecx]
cmp edi, 0x28
je 0x47bdc1
cmp edi, 0x29
je 0x47bdc1
test dl, 0x10
jne 0x47bdbf
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x47bdc1
cmp ecx, 0x7d
je 0x47bdc1
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0047f700
jmp 0x47be7d
cmp eax, 0x2a
je 0x47be91
cmp eax, 0x2b
je 0x47be91
cmp eax, 0x3f
je 0x47be91
cmp eax, 0x7b
je 0x47be91
cmp eax, 0x7d
jne 0x47be0a
test dword [esi + 0x50], 0x10000000
je 0x47bea3
jmp 0x47be1c
cmp eax, 0x5d
jne 0x47be1c
test dword [esi + 0x50], 0x10000000
je 0x47beac
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0047b0d0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x47be6f
cmp word [eax], 0x5c
jne 0x47be6a
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x47be68
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x47be56
movzx edi, word [ecx]
cmp edi, 0x28
je 0x47be6a
cmp edi, 0x29
je 0x47be6a
test dl, 0x10
jne 0x47be68
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x47be6a
cmp ecx, 0x7d
je 0x47be6a
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0047f700
mov ecx, esi
call fcn.0047f230
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x47bb23
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.0047e7c0
push 5
mov ecx, esi
call fcn.0047e7c0
push 6
mov ecx, esi
call fcn.0047e7c0
push 4
mov ecx, esi
call fcn.0047e7c0
int3