Function at 0x43151a
Capabilities:
Parse credit card information

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x30]
mov eax, dword [edi]
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x28
mov ebp, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x14], 0
jne 0x431658
mov dl, byte [ecx + 1]
cmp dl, 0x3f
jne 0x43183e
cmp byte [ecx + 2], 0x7c
jne 0x431835
add ecx, 3
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
jmp 0x431658
cmp byte [ecx + 2], 0x28
jne 0x4315c9
add ecx, 2
mov dword [esp + 0x10], ecx
cmp byte [ecx + 1], 0x3f
je 0x431658
mov al, byte [ecx]
test al, al
je 0x4315a9
lea esp, [esp]
cmp al, 0x29
je 0x4315ba
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x43159a
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
or eax, 0xffffffff
pop ebx
add esp, 8
ret
cmp byte [ecx], 0
je 0x4315a9
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x431658
add ecx, 2
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x50
jne 0x4315da
inc ecx
mov dword [esp + 0x10], ecx
mov dl, byte [ecx]
cmp dl, 0x3c
jne 0x4315ee
mov bl, byte [ecx + 1]
cmp bl, 0x21
je 0x4315ee
cmp bl, 0x3d
jne 0x4315f3
cmp dl, 0x27
jne 0x431658
inc eax
mov dword [edi], eax
test esi, esi
jne 0x431604
cmp eax, dword [esp + 0x28]
je 0x43185c
movzx eax, byte [ecx]
inc ecx
mov dword [esp + 0x10], ecx
cmp eax, 0x3c
jne 0x431616
mov eax, 0x3e
movzx ebx, byte [ecx]
mov edx, ecx
cmp ebx, eax
je 0x43162b
inc ecx
mov dword [esp + 0x10], ecx
movzx ebx, byte [ecx]
cmp ebx, eax
jne 0x43161f
test esi, esi
je 0x431658
mov eax, dword [esp + 0x28]
mov ebx, ecx
sub ebx, edx
cmp eax, ebx
jne 0x431658
push eax
push edx
push esi
call fcn.004152fc
add esp, 0xc
test eax, eax
jne 0x431654
mov eax, dword [edi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
test al, al
je 0x4315a9
mov ebx, dword [esp + 0x20]
mov edx, ebp
jmp 0x431672
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
cmp al, 0x5c
jne 0x4316b7
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x4315a9
cmp al, 0x51
jne 0x4317f7
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x4315a9
cmp al, 0x5c
jne 0x43168d
test al, al
je 0x4315a9
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x43168d
jmp 0x4317f7
cmp al, 0x5b
jne 0x43177c
xor esi, esi
mov al, byte [ecx + 1]
cmp al, 0x5c
jne 0x4316f7
add ecx, 2
cmp byte [ecx], 0x45
jne 0x4316d6
mov dword [esp + 0x10], ecx
jmp 0x4316c1
push 3
push 0x48c4cc
push ecx
call fcn.004152fc
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x43170b
add ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x4316c1
test esi, esi
jne 0x43170b
cmp al, 0x5e
jne 0x43170b
inc ecx
mov esi, 1
mov dword [esp + 0x10], ecx
jmp 0x4316c1
cmp byte [ecx + 1], 0x5d
jne 0x43171b
test dword [ebx + 0x44], 0x2000000
jne 0x43171b
inc ecx
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
je 0x4317f7
test al, al
je 0x43182a
cmp al, 0x5c
jne 0x43176f
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x4315a9
cmp al, 0x51
jne 0x43176f
nop
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x4315a9
cmp al, 0x5c
jne 0x43174a
test al, al
je 0x4315a9
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x43174a
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
jne 0x43172a
jmp 0x4317f7
cmp dword [esp + 0x2c], 0
je 0x4317a7
cmp al, 0x23
jne 0x4317a7
lea ecx, [ecx]
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x4315a9
cmp al, 0xa
jne 0x43178a
test al, al
je 0x4315a9
jmp 0x4317f7
cmp al, 0x28
jne 0x4317dc
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push edi
push ecx
push edx
push esi
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.0043151a
add esp, 0x18
test eax, eax
jg 0x43185c
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0
je 0x4315a9
jmp 0x4317f7
cmp al, 0x29
je 0x431817
cmp al, 0x7c
jne 0x4317f7
cmp dword [esp + 0x14], 0
je 0x4317f7
mov eax, dword [edi]
cmp eax, edx
jle 0x4317f5
mov dword [esp + 0x30], eax
mov dword [edi], ebp
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x43166a
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
or eax, 0xffffffff
pop ebx
add esp, 8
ret
cmp dword [esp + 0x14], 0
je 0x431824
cmp dword [edi], edx
jge 0x431824
mov dword [edi], edx
mov edx, dword [esp + 0x1c]
mov dword [edx], ecx
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
cmp dl, 0x3f
je 0x431576
cmp dl, 0x2a
je 0x431576
inc eax
mov dword [edi], eax
test esi, esi
jne 0x4315bf
cmp eax, dword [esp + 0x28]
jne 0x4315bf
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret