Function at 0x10021ee0
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1002238d
lea edi, [esi + 8]
cmp eax, 0x7c
je 0x1002238d
cmp eax, 0x29
jne 0x10021f20
cmp dword [esi + 0x10], 0
jne 0x1002238d
test dword [esi + 0x50], 0x10000000
je 0x1002239a
jmp 0x10022320
cmp eax, 0x2e
jne 0x10021f75
push 5
lea ecx, [esi + 0x24]
call fcn.100223b0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1002236e
cmp word [eax], 0x5c
jne 0x10022153
lea ecx, [eax + 2]
cmp ecx, edx
je 0x10022153
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10021f6d
movzx edx, word [ecx]
cmp edx, 0x28
je 0x10022151
cmp edx, 0x29
je 0x10022151
test bl, 0x10
jmp 0x10022142
cmp eax, 0x5c
jne 0x100220a9
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10021fc1
cmp word [eax], 0x5c
jne 0x10021fbc
lea ecx, [eax + 2]
cmp ecx, edx
je 0x10021fbc
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10021fa8
movzx edx, word [ecx]
cmp edx, 0x28
je 0x10021fba
cmp edx, 0x29
je 0x10021fba
test bl, 0x10
jne 0x10021fbc
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x10021fba
cmp edx, 0x7d
jne 0x10021fbc
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.100204c0
test byte [esi + 0x50], 0x80
je 0x1002209d
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x10022036
push 4
lea ecx, [esi + 0x24]
call fcn.100223b0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1002202a
cmp word [eax], 0x5c
jne 0x10022025
lea ecx, [eax + 2]
cmp ecx, edx
je 0x10022025
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10022011
movzx edx, word [ecx]
cmp edx, 0x28
je 0x10022023
cmp edx, 0x29
je 0x10022023
test bl, 0x10
jne 0x10022025
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x10022023
cmp edx, 0x7d
jne 0x10022025
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.100204c0
jmp 0x1002237f
cmp ecx, 0x42
jne 0x1002209d
push 4
lea ecx, [esi + 0x24]
call fcn.100223b0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10022091
cmp word [eax], 0x5c
jne 0x1002208c
lea ecx, [eax + 2]
cmp ecx, edx
je 0x1002208c
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x10022078
movzx eax, word [ecx]
cmp eax, 0x28
je 0x1002208a
cmp eax, 0x29
je 0x1002208a
mov eax, dword [esi]
test dl, 0x10
jne 0x1002208c
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x1002208a
cmp edx, 0x7d
jne 0x1002208c
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.100204c0
jmp 0x1002237f
mov ecx, esi
call fcn.100240d0
jmp 0x10022375
cmp eax, 0x5b
jne 0x1002215d
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x100220f7
cmp word [eax], 0x5c
jne 0x100220f2
lea ecx, [eax + 2]
cmp ecx, edx
je 0x100220f2
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x100220de
movzx eax, word [ecx]
cmp eax, 0x28
je 0x100220f0
cmp eax, 0x29
je 0x100220f0
mov eax, dword [esi]
test dl, 0x10
jne 0x100220f2
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x100220f0
cmp edx, 0x7d
jne 0x100220f2
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.100204c0
mov ecx, esi
call fcn.10023f80
cmp dword [esi + 0x4c], 0x5d
jne 0x100223a8
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1002236e
cmp word [eax], 0x5c
jne 0x10022153
lea ecx, [eax + 2]
cmp ecx, edx
je 0x10022153
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x1002213f
movzx eax, word [ecx]
cmp eax, 0x28
je 0x10022151
cmp eax, 0x29
je 0x10022151
mov eax, dword [esi]
test dl, 0x10
jne 0x10022153
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x10022151
cmp edx, 0x7d
jne 0x10022153
mov eax, ecx
add eax, 2
mov dword [esi], eax
jmp 0x1002236e
cmp eax, 0x28
jne 0x1002221e
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x100221ab
cmp word [eax], 0x5c
jne 0x100221a6
lea ecx, [eax + 2]
cmp ecx, edx
je 0x100221a6
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x10022192
movzx eax, word [ecx]
cmp eax, 0x28
je 0x100221a4
cmp eax, 0x29
je 0x100221a4
mov eax, dword [esi]
test dl, 0x10
jne 0x100221a6
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x100221a4
cmp edx, 0x7d
jne 0x100221a6
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.100204c0
mov ecx, esi
call fcn.10024220
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1002239a
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1002220a
cmp word [eax], 0x5c
jne 0x10022205
lea ecx, [eax + 2]
cmp ecx, edx
je 0x10022205
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x100221f1
movzx eax, word [ecx]
cmp eax, 0x28
je 0x10022203
cmp eax, 0x29
je 0x10022203
mov eax, dword [esi]
test dl, 0x10
jne 0x10022205
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x10022203
cmp edx, 0x7d
jne 0x10022205
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.100204c0
test bl, bl
je 0x1002237f
jmp 0x10022375
cmp eax, 0x5e
jne 0x1002227a
push 2
lea ecx, [esi + 0x24]
call fcn.100223b0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1002226e
cmp word [eax], 0x5c
jne 0x1002226b
add eax, 2
cmp eax, ecx
je 0x1002226b
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10022257
movzx edx, word [eax]
cmp edx, 0x28
je 0x10022269
cmp edx, 0x29
je 0x10022269
test cl, 0x10
jne 0x1002226b
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x10022269
cmp ecx, 0x7d
jne 0x1002226b
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.100204c0
jmp 0x1002237f
cmp eax, 0x24
jne 0x100222d6
push 3
lea ecx, [esi + 0x24]
call fcn.100223b0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100222ca
cmp word [eax], 0x5c
jne 0x100222c7
add eax, 2
cmp eax, ecx
je 0x100222c7
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x100222b3
movzx edx, word [eax]
cmp edx, 0x28
je 0x100222c5
cmp edx, 0x29
je 0x100222c5
test cl, 0x10
jne 0x100222c7
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x100222c5
cmp ecx, 0x7d
jne 0x100222c7
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.100204c0
jmp 0x1002237f
cmp eax, 0x2a
je 0x10022393
cmp eax, 0x2b
je 0x10022393
cmp eax, 0x3f
je 0x10022393
cmp eax, 0x7b
je 0x10022393
cmp eax, 0x7d
jne 0x1002230e
test dword [esi + 0x50], 0x10000000
je 0x100223a1
jmp 0x10022320
cmp eax, 0x5d
jne 0x10022320
test dword [esi + 0x50], 0x10000000
je 0x100223a8
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.100245e0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1002236e
cmp word [eax], 0x5c
jne 0x1002236b
add eax, 2
cmp eax, ecx
je 0x1002236b
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10022357
movzx edx, word [eax]
cmp edx, 0x28
je 0x10022369
cmp edx, 0x29
je 0x10022369
test cl, 0x10
jne 0x1002236b
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x10022369
cmp ecx, 0x7d
jne 0x1002236b
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.100204c0
mov ecx, esi
call fcn.100243b0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10021ef6
pop edi
pop esi
mov al, cl
pop ebx
ret
push 0xa
call fcn.100204b0
push 5
call fcn.100204b0
push 6
call fcn.100204b0
push 4
call fcn.100204b0
int3