Function at 0x10022430
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10022915
lea edi, [esi + 8]
nop word [eax + eax]
cmp eax, 0x7c
je 0x10022915
cmp eax, 0x29
jne 0x1002247a
cmp dword [esi + 0x10], 0
jne 0x10022915
test dword [esi + 0x50], 0x10000000
je 0x10022925
jmp 0x100228af
cmp eax, 0x2e
jne 0x100224e9
push 5
lea ecx, [esi + 0x24]
call fcn.100223c0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x100228f6
cmp byte [eax], 0x5c
jne 0x100226eb
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x100224df
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x100224bf
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x100224d4
cmp cl, 0x29
je 0x100224d4
mov ecx, eax
test bl, 0x10
jne 0x100224df
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x100224d4
mov edx, ecx
cmp bl, 0x7d
jne 0x100224df
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x100228f6
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x100228f6
cmp eax, 0x5c
jne 0x10022638
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1002253e
cmp byte [eax], 0x5c
jne 0x1002253b
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10022539
test byte [esi + 0x50], 8
jne 0x1002251e
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x10022534
cmp cl, 0x29
je 0x10022534
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10022539
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x10022534
mov edx, ecx
cmp bl, 0x7d
jne 0x10022539
lea eax, [edx + 1]
jmp 0x1002253b
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10020720
test byte [esi + 0x50], 0x80
je 0x1002262c
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x100225c5
push 4
lea ecx, [esi + 0x24]
call fcn.100223c0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x100225b9
cmp byte [eax], 0x5c
jne 0x100225b6
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x100225b4
test byte [esi + 0x50], 8
jne 0x1002258c
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x100225a2
cmp cl, 0x29
je 0x100225a2
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x100225b4
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x100225a2
mov edx, ecx
cmp bl, 0x7d
jne 0x100225b4
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.10020720
jmp 0x10022907
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10020720
jmp 0x10022907
cmp al, 0x42
jne 0x1002262c
push 4
lea ecx, [esi + 0x24]
call fcn.100223c0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10022620
cmp byte [eax], 0x5c
jne 0x1002261d
lea ebx, [eax + 1]
cmp ebx, ecx
je 0x1002261d
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10022607
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x28
je 0x1002261a
cmp dl, 0x29
je 0x1002261a
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1002261d
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x7b
je 0x1002261a
cmp dl, 0x7d
jne 0x1002261d
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10020720
jmp 0x10022907
mov ecx, esi
call fcn.100246b0
jmp 0x100228fd
cmp eax, 0x5b
jne 0x100226f3
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10022689
cmp byte [eax], 0x5c
jne 0x10022686
lea edx, [eax + 1]
cmp edx, ecx
je 0x10022686
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10022670
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x10022683
cmp byte [ebp - 1], 0x29
je 0x10022683
test bl, 0x10
jne 0x10022686
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x10022683
cmp dl, 0x7d
jne 0x10022686
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10020720
mov ecx, esi
call fcn.10024570
cmp dword [esi + 0x4c], 0x5d
jne 0x10022933
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x100228f6
cmp byte [eax], 0x5c
jne 0x100226eb
lea edx, [eax + 1]
cmp edx, ecx
je 0x100226eb
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x100226d5
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x100226e8
cmp byte [ebp - 1], 0x29
je 0x100226e8
test bl, 0x10
jne 0x100226eb
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100226e8
cmp dl, 0x7d
jne 0x100226eb
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x100228f6
cmp eax, 0x28
jne 0x100227b7
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10022742
cmp byte [eax], 0x5c
jne 0x1002273f
lea edx, [eax + 1]
cmp edx, ecx
je 0x1002273f
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10022729
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x1002273c
cmp bl, 0x29
je 0x1002273c
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1002273f
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1002273c
cmp dl, 0x7d
jne 0x1002273f
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10020720
mov ecx, esi
call fcn.10024800
cmp dword [esi + 0x4c], 0x29
mov bh, al
jne 0x10022925
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x100227a3
cmp byte [eax], 0x5c
jne 0x100227a0
lea edx, [eax + 1]
cmp edx, ecx
je 0x100227a0
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1002278a
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x1002279d
cmp bl, 0x29
je 0x1002279d
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x100227a0
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1002279d
cmp dl, 0x7d
jne 0x100227a0
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10020720
test bh, bh
je 0x10022907
jmp 0x100228fd
cmp eax, 0x5e
jne 0x1002280e
push 2
lea ecx, [esi + 0x24]
call fcn.100223c0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10022802
cmp byte [eax], 0x5c
jne 0x10022800
inc eax
cmp eax, ecx
je 0x10022800
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x100227ef
mov dl, byte [eax]
cmp dl, 0x28
je 0x100227fe
cmp dl, 0x29
je 0x100227fe
test cl, 0x10
jne 0x10022800
mov al, byte [eax]
cmp al, 0x7b
je 0x100227fe
cmp al, 0x7d
jne 0x10022800
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10020720
jmp 0x10022907
cmp eax, 0x24
jne 0x10022865
push 3
lea ecx, [esi + 0x24]
call fcn.100223c0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10022859
cmp byte [eax], 0x5c
jne 0x10022857
inc eax
cmp eax, ecx
je 0x10022857
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10022846
mov dl, byte [eax]
cmp dl, 0x28
je 0x10022855
cmp dl, 0x29
je 0x10022855
test cl, 0x10
jne 0x10022857
mov al, byte [eax]
cmp al, 0x7b
je 0x10022855
cmp al, 0x7d
jne 0x10022857
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10020720
jmp 0x10022907
cmp eax, 0x2a
je 0x1002291e
cmp eax, 0x2b
je 0x1002291e
cmp eax, 0x3f
je 0x1002291e
cmp eax, 0x7b
je 0x1002291e
cmp eax, 0x7d
jne 0x1002289d
test dword [esi + 0x50], 0x10000000
je 0x1002292c
jmp 0x100228af
cmp eax, 0x5d
jne 0x100228af
test dword [esi + 0x50], 0x10000000
je 0x10022933
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10024ca0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x100228f6
cmp byte [eax], 0x5c
jne 0x100228f4
inc eax
cmp eax, ecx
je 0x100228f4
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x100228e3
mov dl, byte [eax]
cmp dl, 0x28
je 0x100228f2
cmp dl, 0x29
je 0x100228f2
test cl, 0x10
jne 0x100228f4
mov al, byte [eax]
cmp al, 0x7b
je 0x100228f2
cmp al, 0x7d
jne 0x100228f4
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10020720
mov ecx, esi
call fcn.10024a70
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10022450
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.10020180
push 5
call fcn.10020180
push 6
call fcn.10020180
push 4
call fcn.10020180
int3