Function at 0x1008aed0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
and dword [ebp - 0x18], 0
mov eax, dword [eax]
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x24], ecx
mov ecx, edi
mov dword [ebp - 0x10], eax
call fcn.1004884a
mov ecx, dword [ebp - 0x10]
mov ebx, eax
test cl, 0x40
jne 0x1008af08
cmp dword [0x101b42a4], 0
je 0x1008b2ad
cmp ebx, 5
jl 0x1008b2ad
cmp dword [edi], 0x656c6966
jne 0x1008b2ad
cmp byte [edi + 4], 0x3a
jne 0x1008b2ad
and dword [ebp - 0xc], 0
or ecx, 0x40
mov dword [ebp - 0x10], ecx
xor ecx, ecx
lea edx, [ebx + 2]
test ebx, ebx
jle 0x1008af4a
xor eax, eax
cmp byte [ecx + edi], 0x26
sete al
add edx, eax
inc ecx
cmp ecx, ebx
jl 0x1008af3a
push edx
call fcn.10046adf
pop ecx
mov ecx, eax
mov dword [ebp - 8], ecx
push 7
test ecx, ecx
jne 0x1008af62
pop eax
jmp 0x1008b28b
cmp byte [edi + 5], 0x2f
pop edx
jne 0x1008afbd
cmp byte [edi + 6], 0x2f
jne 0x1008afbd
lea ebx, [edi + 7]
mov esi, edx
mov al, byte [ebx]
test al, al
je 0x1008afc5
cmp al, 0x2f
je 0x1008af86
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x1008af7a
cmp esi, edx
je 0x1008afc5
cmp esi, 0x10
jne 0x1008afa3
push 9
push ebx
push 0x10194ebc
call fcn.100ab5ea
add esp, 0xc
test eax, eax
je 0x1008afc2
push ebx
lea eax, [esi - 7]
push eax
push 0x10194ed0
call fcn.10048013
mov esi, dword [ebp - 8]
add esp, 0xc
jmp 0x1008b266
push 5
pop esi
jmp 0x1008afc5
mov ecx, dword [ebp - 8]
mov bl, byte [esi + edi]
xor edx, edx
mov dword [ebp - 0x14], edx
test bl, bl
je 0x1008b110
cmp bl, 0x23
je 0x1008b08c
inc esi
cmp bl, 0x25
jne 0x1008b09b
mov al, byte [esi + edi]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x1018d1b0], 8
je 0x1008b09b
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x1018d1b0], 8
je 0x1008b09b
movsx ecx, byte [ebp - 1]
movsx edx, byte [esi + edi + 1]
mov eax, ecx
sar eax, 6
and al, 1
push 7
pop ebx
imul bl
mov bl, cl
sub bl, al
mov eax, edx
sar eax, 6
push 7
pop ecx
and al, 1
imul cl
mov cl, dl
mov edx, dword [ebp - 0x14]
sub cl, al
and ebx, 0xf
shl ebx, 4
add esi, 2
and ecx, 0xf
add ebx, ecx
je 0x1008b077
mov ecx, dword [ebp - 8]
jmp 0x1008b101
cmp al, 0x23
je 0x1008b07e
test edx, edx
jne 0x1008b060
cmp al, 0x3f
je 0x1008b07e
cmp edx, 1
jne 0x1008b06d
cmp al, 0x3d
je 0x1008b07e
cmp al, 0x26
je 0x1008b07e
cmp edx, 2
jne 0x1008b076
cmp al, 0x26
je 0x1008b07e
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x1008b054
mov ecx, dword [ebp - 8]
mov bl, byte [esi + edi]
test bl, bl
jne 0x1008afd5
mov eax, dword [ebp - 0xc]
cmp edx, 1
jne 0x1008b113
mov byte [ecx + eax], 0
inc eax
jmp 0x1008b113
cmp edx, 1
jne 0x1008b0e6
cmp bl, 0x26
je 0x1008b0aa
cmp bl, 0x3d
jne 0x1008b101
mov eax, dword [ebp - 0xc]
cmp byte [ecx + eax - 1], 0
je 0x1008b0d3
cmp bl, 0x26
jne 0x1008b0dc
mov ebx, eax
mov byte [ecx + ebx], 0
inc ebx
mov dword [ebp - 0xc], ebx
mov eax, ebx
jmp 0x1008b0e2
cmp al, 0x23
je 0x1008b081
cmp byte [esi + edi - 1], 0x26
je 0x1008b081
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x1008b0c7
jmp 0x1008b081
push 2
pop edx
mov dword [ebp - 0x14], edx
xor bl, bl
jmp 0x1008b104
test edx, edx
jne 0x1008b0ef
cmp bl, 0x3f
je 0x1008b0f9
cmp edx, 2
jne 0x1008b101
cmp bl, 0x26
jne 0x1008b101
xor edx, edx
xor bl, bl
inc edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
mov byte [ecx + eax], bl
inc eax
mov dword [ebp - 0xc], eax
jmp 0x1008b081
mov eax, dword [ebp - 0xc]
mov word [ecx + eax], 0
call fcn.1004884a
lea edx, [ecx + 1]
add edx, eax
jmp 0x1008b238
mov ecx, edx
call fcn.1004884a
mov esi, eax
lea ebx, [edx + 1]
add ebx, esi
mov ecx, ebx
mov dword [ebp - 0x1c], esi
call fcn.1004884a
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp esi, 3
jne 0x1008b164
mov eax, 0x6676
cmp ax, word [edx]
jne 0x1008b164
push 0x73
pop eax
cmp al, byte [edx + 2]
jne 0x1008b164
mov dword [ebp - 0x24], ebx
jmp 0x1008b233
mov eax, dword [ebp - 0x1c]
xor edi, edi
and dword [ebp - 0xc], edi
xor esi, esi
and dword [ebp - 0x20], esi
cmp eax, 5
jne 0x1008b1a6
mov esi, 0x68636163
cmp esi, dword [edx]
jne 0x1008b233
push 0x65
pop ecx
cmp cl, byte [edx + 4]
mov ecx, dword [ebp - 0x14]
jne 0x1008b233
mov esi, 0x60000
mov edi, 0x101b3650
mov dword [ebp - 0x20], esi
mov dword [ebp - 0xc], 0x10194ef4
cmp eax, 4
jne 0x1008b1ce
cmp dword [edx], 0x65646f6d
jne 0x1008b1ce
mov eax, dword [ebp - 0x10]
mov edx, 0x87
and eax, edx
mov esi, edx
mov edi, 0x101b39e0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0x10194f0c
test edi, edi
je 0x1008b233
mov ecx, dword [edi]
xor edx, edx
jmp 0x1008b1fa
call fcn.1004884a
cmp dword [ebp - 0x14], eax
jne 0x1008b1f6
push dword [ebp - 0x14]
push ecx
push ebx
call fcn.100ab5ea
add esp, 0xc
test eax, eax
je 0x1008b20f
mov edx, dword [ebp - 0x1c]
inc edx
mov ecx, dword [edi + edx*8]
mov dword [ebp - 0x1c], edx
test ecx, ecx
jne 0x1008b1d8
push ebx
push dword [ebp - 0xc]
push 0x10194f30
jmp 0x1008afad
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edi + eax*8 + 4]
test ecx, ecx
je 0x1008b201
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x20]
jg 0x1008b290
not esi
and esi, dword [ebp - 0x10]
or esi, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
lea edx, [ebx + 1]
add edx, ecx
cmp byte [edx], 0
jne 0x1008b128
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x24]
push edi
call fcn.100463e6
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x1008b27b
push edi
push 0x10194f4c
call fcn.10048013
pop ecx
pop ecx
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp + 0x14]
push esi
mov dword [ecx], eax
call fcn.10046c90
pop ecx
xor esi, esi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [ecx], esi
pop edi
pop esi
pop ebx
leave
ret
push ebx
push dword [ebp - 0xc]
push 0x10194f18
call fcn.10048013
mov esi, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x18], 3
jmp 0x1008b26d
lea eax, [ebx + 2]
push eax
call fcn.10046adf
mov esi, eax
pop ecx
test esi, esi
jne 0x1008b2c4
push 7
jmp 0x1008af5c
push ebx
push edi
push esi
call fcn.100a79a0
add esp, 0xc
and dword [ebp - 0x10], 0xffffffbf
mov word [esi + ebx], 0
jmp 0x1008b244