Function at 0x10042710
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10042d43
cmp eax, 0x7c
je 0x10042d43
push ebx
push edi
cmp eax, 0x29
jne 0x10042753
cmp dword [esi + 0x10], 0
jne 0x10042d41
test dword [esi + 0x50], 0x10000000
je 0x10042d53
jmp 0x10042cd9
cmp eax, 0x2e
jne 0x1004281c
push 0x14
call fcn.100568ab
mov ecx, eax
add esp, 4
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x10042793
mov dword [ecx], vtable.std::_Node_base.0
mov dword [ecx + 4], 5
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
jmp 0x10042795
xor ecx, ecx
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100427b1
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x28], ecx
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10042d20
cmp byte [eax], 0x5c
jne 0x10042ae3
lea edx, [eax + 1]
cmp edx, ecx
je 0x10042ae3
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x100427f6
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x10042811
cmp byte [ebp - 1], 0x29
je 0x10042811
test bl, 0x10
jne 0x10042ae3
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x10042811
cmp dl, 0x7d
jne 0x10042ae3
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x10042d20
cmp eax, 0x5c
jne 0x10042a1f
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x1004286e
cmp byte [eax], 0x5c
jne 0x1004286b
lea edx, [eax + 1]
cmp edx, ecx
je 0x1004286b
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10042855
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x10042868
cmp byte [ebp - 1], 0x29
je 0x10042868
test bl, 0x10
jne 0x1004286b
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x10042868
cmp dl, 0x7d
jne 0x1004286b
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.100480f0
test byte [esi + 0x50], 0x80
je 0x10042a13
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x1004293f
push 0x14
call fcn.100568ab
mov ecx, eax
add esp, 4
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x100428c1
mov dword [ecx], vtable.std::_Node_base.0
mov dword [ecx + 4], 4
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
jmp 0x100428c3
xor ecx, ecx
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100428df
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x28], ecx
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10042c83
cmp byte [eax], 0x5c
jne 0x10042930
lea edx, [eax + 1]
cmp edx, ecx
je 0x10042930
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1004291a
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x1004292d
cmp bl, 0x29
je 0x1004292d
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x10042930
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1004292d
cmp dl, 0x7d
jne 0x10042930
lea eax, [ecx + 1]
inc eax
mov ecx, esi
mov dword [esi], eax
call fcn.100480f0
jmp 0x10042d2e
cmp al, 0x42
jne 0x10042a13
push 0x14
call fcn.100568ab
mov ecx, eax
add esp, 4
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x1004297e
mov dword [ecx], vtable.std::_Node_base.0
mov dword [ecx + 4], 4
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
jmp 0x10042980
xor ecx, ecx
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1004299c
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x28], ecx
xor dword [ecx + 8], 1
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x10042c83
cmp byte [eax], 0x5c
jne 0x10042a04
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10042a02
test byte [esi + 0x50], 8
jne 0x100429da
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x100429f0
cmp cl, 0x29
je 0x100429f0
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10042a02
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x100429f0
mov edx, ecx
cmp bl, 0x7d
jne 0x10042a02
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.100480f0
jmp 0x10042d2e
mov eax, ecx
inc eax
mov ecx, esi
mov dword [esi], eax
call fcn.100480f0
jmp 0x10042d2e
mov ecx, esi
call fcn.10042eb0
jmp 0x10042d27
cmp eax, 0x5b
jne 0x10042aeb
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x10042a76
cmp byte [eax], 0x5c
jne 0x10042a73
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x10042a71
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10042a57
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x10042a6c
cmp cl, 0x29
je 0x10042a6c
mov ecx, eax
test bl, 0x10
jne 0x10042a71
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x10042a6c
mov edx, ecx
cmp bl, 0x7d
jne 0x10042a71
lea eax, [edx + 1]
jmp 0x10042a73
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.100480f0
mov ecx, esi
call fcn.100431d0
cmp dword [esi + 0x4c], 0x5d
jne 0x10042d65
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x10042d20
cmp byte [eax], 0x5c
jne 0x10042ae3
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x10042ae1
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10042ac1
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x10042ad6
cmp cl, 0x29
je 0x10042ad6
mov ecx, eax
test bl, 0x10
jne 0x10042ae1
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x10042ad6
mov edx, ecx
cmp bl, 0x7d
jne 0x10042ae1
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x10042d20
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x10042d20
cmp eax, 0x28
jne 0x10042bc1
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x10042b42
cmp byte [eax], 0x5c
jne 0x10042b3f
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x10042b3d
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10042b23
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x10042b38
cmp cl, 0x29
je 0x10042b38
mov ecx, eax
test bl, 0x10
jne 0x10042b3d
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x10042b38
mov edx, ecx
cmp bl, 0x7d
jne 0x10042b3d
lea eax, [edx + 1]
jmp 0x10042b3f
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.100480f0
mov ecx, esi
call fcn.10048550
cmp dword [esi + 0x4c], 0x29
mov byte [ebp - 1], al
jne 0x10042d53
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x10042bab
cmp byte [eax], 0x5c
jne 0x10042ba8
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x10042ba6
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10042b8c
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x10042ba1
cmp cl, 0x29
je 0x10042ba1
mov ecx, eax
test bl, 0x10
jne 0x10042ba6
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x10042ba1
mov edx, ecx
cmp bl, 0x7d
jne 0x10042ba6
lea eax, [edx + 1]
jmp 0x10042ba8
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.100480f0
cmp byte [ebp - 1], 0
je 0x10042d2e
jmp 0x10042d27
cmp eax, 0x5e
jne 0x10042be2
push 0x14
call fcn.100568ab
mov ecx, eax
add esp, 4
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x10042c22
mov dword [ecx + 4], 2
jmp 0x10042c05
cmp eax, 0x24
jne 0x10042c8f
push 0x14
call fcn.100568ab
mov ecx, eax
add esp, 4
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x10042c22
mov dword [ecx + 4], 3
mov dword [ecx], vtable.std::_Node_base.0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
jmp 0x10042c24
xor ecx, ecx
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10042c40
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x28], ecx
mov ecx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, ecx
je 0x10042c83
cmp byte [eax], 0x5c
jne 0x10042c81
inc eax
cmp eax, ecx
je 0x10042c81
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10042c70
mov dl, byte [eax]
cmp dl, 0x28
je 0x10042c7f
cmp dl, 0x29
je 0x10042c7f
test cl, 0x10
jne 0x10042c81
mov al, byte [eax]
cmp al, 0x7b
je 0x10042c7f
cmp al, 0x7d
jne 0x10042c81
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.100480f0
jmp 0x10042d2e
cmp eax, 0x2a
je 0x10042d4a
cmp eax, 0x2b
je 0x10042d4a
cmp eax, 0x3f
je 0x10042d4a
cmp eax, 0x7b
je 0x10042d4a
cmp eax, 0x7d
jne 0x10042cc7
test dword [esi + 0x50], 0x10000000
je 0x10042d5c
jmp 0x10042cd9
cmp eax, 0x5d
jne 0x10042cd9
test dword [esi + 0x50], 0x10000000
je 0x10042d65
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10041cc0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10042d20
cmp byte [eax], 0x5c
jne 0x10042d1e
inc eax
cmp eax, ecx
je 0x10042d1e
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10042d0d
mov dl, byte [eax]
cmp dl, 0x28
je 0x10042d1c
cmp dl, 0x29
je 0x10042d1c
test cl, 0x10
jne 0x10042d1e
mov al, byte [eax]
cmp al, 0x7b
je 0x10042d1c
cmp al, 0x7d
jne 0x10042d1e
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.100480f0
mov ecx, esi
call fcn.10047c90
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x10042d41
cmp eax, 0x7c
jne 0x10042732
pop edi
pop ebx
mov al, cl
pop esi
mov esp, ebp
pop ebp
ret
push 0xa
mov ecx, esi
call fcn.10046400
push 5
mov ecx, esi
call fcn.10046400
push 6
mov ecx, esi
call fcn.10046400
push 4
mov ecx, esi
call fcn.10046400
int3