Function at 0x47bf40
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x38]
mov eax, dword [esi]
mov edx, eax
mov dword [esp + 0xc], ecx
cmp byte [ecx], 0x28
push edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
jne 0x47c0cd
mov dl, byte [ecx + 1]
cmp dl, 0x2a
jne 0x47bf8e
add ecx, 2
mov dword [esp + 0x10], ecx
jmp 0x47c0cd
cmp dl, 0x3f
je 0x47bfac
inc eax
mov dword [esi], eax
test edi, edi
jne 0x47bfa2
cmp eax, ebp
je 0x47c306
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x47c0cd
mov dl, byte [ecx + 2]
cmp dl, 0x7c
jne 0x47bfc8
add ecx, 3
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
jmp 0x47c0cd
cmp dl, 0x23
jne 0x47c004
add ecx, 3
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x47c2fd
mov edi, edi
cmp al, 0x29
je 0x47c2fd
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x47bfe0
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
add ecx, 2
mov dword [esp + 0x10], ecx
cmp dl, 0x28
jne 0x47c04b
cmp byte [ecx + 1], 0x3f
je 0x47c0cd
mov al, byte [ecx]
test al, al
je 0x47c0cd
cmp al, 0x29
je 0x47c038
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x47c024
jmp 0x47c0cd
cmp byte [ecx], 0
je 0x47c0cd
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x47c0cd
cmp byte [ecx], 0x50
jne 0x47c055
inc ecx
mov dword [esp + 0x10], ecx
mov dl, byte [ecx]
cmp dl, 0x3c
jne 0x47c069
mov bl, byte [ecx + 1]
cmp bl, 0x21
je 0x47c069
cmp bl, 0x3d
jne 0x47c06e
cmp dl, 0x27
jne 0x47c0cd
inc eax
mov dword [esi], eax
test edi, edi
jne 0x47c07d
cmp eax, ebp
je 0x47c306
movzx eax, byte [ecx]
inc ecx
mov dword [esp + 0x10], ecx
cmp eax, 0x3c
jne 0x47c08f
mov eax, 0x3e
movzx ebx, byte [ecx]
mov edx, ecx
cmp ebx, eax
je 0x47c0a4
inc ecx
mov dword [esp + 0x10], ecx
movzx ebx, byte [ecx]
cmp ebx, eax
jne 0x47c098
test edi, edi
je 0x47c0cd
mov eax, ecx
sub eax, edx
cmp ebp, eax
jne 0x47c0cd
push ebp
push edx
push edi
call fcn.0048b4de
add esp, 0xc
test eax, eax
jne 0x47c0c9
mov eax, dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
cmp ecx, dword [ebx + 0x1c]
jae 0x47c2fd
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov al, byte [ecx]
cmp al, 0x5c
jne 0x47c12a
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x47c2fd
cmp al, 0x51
jne 0x47c2d9
nop
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x47c2fd
cmp al, 0x5c
jne 0x47c100
test al, al
je 0x47c2fd
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x47c100
jmp 0x47c2d9
cmp al, 0x5b
jne 0x47c1f5
xor esi, esi
mov al, byte [ecx + 1]
cmp al, 0x5c
jne 0x47c16a
add ecx, 2
cmp byte [ecx], 0x45
jne 0x47c149
mov dword [esp + 0x10], ecx
jmp 0x47c134
push 3
push 0x4a3df0
push ecx
call fcn.0048b4de
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x47c17e
add ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x47c134
test esi, esi
jne 0x47c17e
cmp al, 0x5e
jne 0x47c17e
inc ecx
mov esi, 1
mov dword [esp + 0x10], ecx
jmp 0x47c134
cmp byte [ecx + 1], 0x5d
jne 0x47c18e
test dword [ebx + 0x4c], 0x2000000
jne 0x47c18e
inc ecx
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
je 0x47c2d9
lea ecx, [ecx]
test al, al
je 0x47c303
cmp al, 0x5c
jne 0x47c1e5
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x47c2fd
cmp al, 0x51
jne 0x47c1e5
nop
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x47c2fd
cmp al, 0x5c
jne 0x47c1c0
test al, al
je 0x47c2fd
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x47c1c0
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
jne 0x47c1a0
jmp 0x47c2d9
test edi, edi
je 0x47c28a
cmp al, 0x23
jne 0x47c28a
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x47c2fd
mov edi, dword [ebx + 0x60]
test edi, edi
je 0x47c250
mov edx, dword [ebx + 0x1c]
cmp ecx, edx
jae 0x47c26e
push ebp
lea esi, [ebx + 0x64]
push edi
call fcn.00487f30
add esp, 8
test eax, eax
je 0x47c26e
mov eax, dword [ebx + 0x64]
lea ecx, [ecx + eax - 1]
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0
je 0x47c2fd
mov edi, dword [esp + 0x34]
jmp 0x47c2d9
mov edx, dword [ebx + 0x64]
mov esi, dword [ebx + 0x1c]
sub esi, edx
cmp ecx, esi
ja 0x47c26e
cmp al, byte [ebx + 0x68]
jne 0x47c26e
cmp edx, 1
je 0x47c233
mov dl, byte [ecx + 1]
cmp dl, byte [ebx + 0x69]
je 0x47c233
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x47c214
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
cmp al, 0x28
jne 0x47c2b8
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push esi
push ebp
push edi
push ecx
push edx
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.0047bf40
add esp, 0x1c
test eax, eax
jg 0x47c306
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0
je 0x47c2fd
jmp 0x47c2d9
cmp al, 0x29
je 0x47c2ec
cmp al, 0x7c
jne 0x47c2d9
cmp dword [esp + 0x14], 0
je 0x47c2d9
mov eax, dword [esi]
cmp eax, dword [esp + 0x18]
jle 0x47c2d3
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x1c]
mov dword [esi], edx
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [ebx + 0x1c]
jae 0x47c2fd
mov esi, dword [esp + 0x3c]
jmp 0x47c0e2
cmp dword [esp + 0x14], 0
je 0x47c2fd
mov eax, dword [esp + 0x18]
cmp dword [esi], eax
jge 0x47c2fd
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [eax], ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret