Function at 0x4916e0
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 0x491b0e
cmp eax, 0x7c
je 0x491b0e
cmp eax, 0x29
jne 0x49171c
cmp dword [esi + 0x10], 0
jne 0x491b0e
test dword [esi + 0x50], 0x10000000
je 0x491b25
cmp eax, 0x2e
jne 0x4917e1
push 0x14
call fcn.00498052
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx], vtable.std::_Node_base.0
mov dword [ecx + 4], 5
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x491775
mov dword [ecx + 0xc], edx
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 edx, dword [esi + 8]
cmp eax, edx
je 0x4917d5
cmp byte [eax], 0x5c
jne 0x4917d2
lea ecx, [eax + 1]
cmp ecx, edx
je 0x4917cb
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4917a4
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4917b5
cmp bl, 0x29
je 0x4917b5
test dl, 0x10
jne 0x4917cb
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x4917b5
cmp dl, 0x7d
jne 0x4917cb
mov dl, 1
test dl, dl
cmovne eax, ecx
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.004902c0
jmp 0x491af9
xor dl, dl
test dl, dl
cmovne eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004902c0
jmp 0x491af9
cmp eax, 0x5c
jne 0x4918e1
mov ecx, esi
call fcn.00491680
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x491863
cmp byte [esi + 0x48], 0x62
jne 0x491863
push 0x14
call fcn.00498052
mov ecx, eax
mov dword [ecx + 4], 4
mov dword [ecx], vtable.std::_Node_base.0
add esp, 4
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 4], ecx
mov edx, dword [eax + 0xc]
test edx, edx
je 0x491851
mov dword [ecx + 0xc], edx
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, esi
call fcn.00491680
jmp 0x491b00
test eax, eax
je 0x4918d5
cmp byte [esi + 0x48], 0x42
jne 0x4918d5
push 0x14
call fcn.00498052
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx], vtable.std::_Node_base.0
mov dword [ecx + 4], 4
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4918bd
mov dword [ecx + 0xc], edx
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 eax, ecx
mov dword [esi + 0x28], ecx
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00491680
jmp 0x491b00
mov ecx, esi
call fcn.004921f0
jmp 0x491af9
cmp eax, 0x5b
jne 0x491994
mov ecx, esi
call fcn.00491680
lea ecx, [esi + 0x24]
call fcn.00492d30
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x491912
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00491680
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x49197e
cmp eax, 0x5d
jne 0x49197e
test dword [esi + 0x2c], 0x100
mov bl, al
je 0x49193c
mov eax, dword [esi + 0x30]
push 0x5d
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov bl, al
mov edi, dword [esi + 0x28]
mov ecx, dword [edi + 0x18]
test ecx, ecx
jne 0x491962
push 0x20
call fcn.00498052
xorps xmm0, xmm0
mov dword [ebp - 4], eax
add esp, 4
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [edi + 0x18], eax
movzx edx, bl
mov eax, edx
and edx, 7
shr eax, 3
add ecx, eax
movzx eax, byte [ecx]
bts eax, edx
mov byte [ecx], al
mov ecx, esi
call fcn.00491680
mov ecx, esi
call fcn.00492720
cmp dword [esi + 0x4c], 0x5d
jne 0x491b1e
jmp 0x491af2
cmp eax, 0x28
jne 0x491a81
mov ecx, esi
call fcn.00491680
inc dword [esi + 0x10]
mov eax, dword [esi + 0x50]
test eax, 0x8000000
jne 0x4919bb
cmp dword [esi + 0x4c], 0x29
je 0x491b25
test al, 0x20
je 0x491a09
cmp dword [esi + 0x4c], 0x3f
jne 0x491a09
mov ecx, esi
call fcn.00491680
mov edi, dword [esi + 0x4c]
mov ecx, esi
call fcn.00491680
cmp edi, 0x3a
je 0x491a12
cmp edi, 0x21
jne 0x4919f0
push 1
mov ecx, esi
call fcn.00492d00
dec dword [esi + 0x10]
xor bl, bl
jmp 0x491a66
cmp edi, 0x3d
jne 0x491b2c
push 0
mov ecx, esi
call fcn.00492d00
dec dword [esi + 0x10]
xor bl, bl
jmp 0x491a66
test dword [esi + 0x40], 0x200
je 0x491a1b
mov ecx, esi
call fcn.00492c80
jmp 0x491a61
inc dword [esi + 0xc]
lea ecx, [esi + 0x24]
push dword [esi + 0xc]
call fcn.004907c0
mov ecx, esi
mov ebx, eax
call fcn.00490460
push ebx
lea ecx, [esi + 0x24]
call fcn.00490730
mov eax, dword [esi + 0xc]
push ecx
inc eax
lea ecx, [esi + 0x14]
push eax
call fcn.0048e420
mov edx, dword [ebx + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x14]
and edx, 0x1f
shr eax, 5
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
bts eax, edx
mov dword [ecx], eax
dec dword [esi + 0x10]
mov bl, 1
cmp dword [esi + 0x4c], 0x29
jne 0x491b25
mov ecx, esi
call fcn.00491680
test bl, bl
je 0x491b00
jmp 0x491af9
cmp eax, 0x5e
jne 0x491a9b
push 0x14
call fcn.00498052
mov ecx, eax
mov dword [ecx + 4], 2
jmp 0x491811
cmp eax, 0x24
jne 0x491ab5
push 0x14
call fcn.00498052
mov ecx, eax
mov dword [ecx + 4], 3
jmp 0x491811
cmp eax, 0x2a
je 0x491b17
cmp eax, 0x2b
je 0x491b17
cmp eax, 0x3f
je 0x491b17
cmp eax, 0x7b
je 0x491b17
cmp eax, 0x7d
jne 0x491ad7
test dword [esi + 0x50], 0x10000000
je 0x491b33
cmp eax, 0x5d
jne 0x491ae5
test dword [esi + 0x50], 0x10000000
je 0x491b1e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004924e0
mov ecx, esi
call fcn.00491680
mov ecx, esi
call fcn.00492380
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4916f7
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.004902b0
push 4
call fcn.004902b0
push 5
call fcn.004902b0
push 0xe
call fcn.004902b0
push 6
call fcn.004902b0
int3